From a5e9d0a23af5302c16f4daf34b4906bd1d298dc8 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Fri, 15 Dec 2017 15:46:33 -0800 Subject: [PATCH] make bitswap tests pass again with the race detector enabled fixes #2444 License: MIT Signed-off-by: Steven Allen --- exchange/bitswap/bitswap_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exchange/bitswap/bitswap_test.go b/exchange/bitswap/bitswap_test.go index a3d64557b..c0b13cabe 100644 --- a/exchange/bitswap/bitswap_test.go +++ b/exchange/bitswap/bitswap_test.go @@ -108,7 +108,7 @@ func TestLargeSwarm(t *testing.T) { if detectrace.WithRace() { // when running with the race detector, 500 instances launches // well over 8k goroutines. This hits a race detector limit. - numInstances = 100 + numInstances = 75 } else if travis.IsRunning() { numInstances = 200 } else {