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:
@ -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 {
|
||||
|
Reference in New Issue
Block a user