1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-24 05:59:55 +08:00

make bitswap tests pass again with the race detector enabled

fixes #2444

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
This commit is contained in:
Steven Allen
2017-12-15 15:46:33 -08:00
parent a77e0e4713
commit a5e9d0a23a

View File

@ -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 {