make bitswap tests pass again with the race detector enabled
fixes #2444 License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
Steven Allen committed
Dec 15, 2017 at 15:46 UTC
a5e9d0a23af5302c16f4daf34b4906bd1d298dc8
1 file changed
+1
-1
exchange/bitswap/bitswap_test.go
+1
-1
@@ -108,7 +108,7 @@ func TestLargeSwarm(t *testing.T) {
108
if detectrace.WithRace() {
109
// when running with the race detector, 500 instances launches
110
// well over 8k goroutines. This hits a race detector limit.
111
- numInstances = 100
111
+ numInstances = 75
112
} else if travis.IsRunning() {
113
numInstances = 200
114
} else {