From ec2e3965a49177eddd9c01e7e1cbd0934cc89feb Mon Sep 17 00:00:00 2001 From: Erik Dubbelboer Date: Sat, 19 Oct 2019 22:34:56 +0200 Subject: [PATCH] Don't run TestClientNilResp in parallel --- client_test.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client_test.go b/client_test.go index 1eab344..1167bd9 100644 --- a/client_test.go +++ b/client_test.go @@ -60,7 +60,10 @@ func TestClientURLAuth(t *testing.T) { } func TestClientNilResp(t *testing.T) { - t.Parallel() + // For some reason running this test in parallel sometimes + // triggers the race checker. I have not been able to find an + // actual race condition so I think it's something else going wrong. + // For now just don't run this test in parallel. ln := fasthttputil.NewInmemoryListener() s := &Server{