Commit 3e7d3b57 authored by Steven Allen's avatar Steven Allen

make bitswap tests pass again with the race detector enabled

fixes #2444

License: MIT
Signed-off-by: default avatarSteven Allen <steven@stebalien.com>
parent 9d56edba
...@@ -108,7 +108,7 @@ func TestLargeSwarm(t *testing.T) { ...@@ -108,7 +108,7 @@ func TestLargeSwarm(t *testing.T) {
if detectrace.WithRace() { if detectrace.WithRace() {
// when running with the race detector, 500 instances launches // when running with the race detector, 500 instances launches
// well over 8k goroutines. This hits a race detector limit. // well over 8k goroutines. This hits a race detector limit.
numInstances = 100 numInstances = 75
} else if travis.IsRunning() { } else if travis.IsRunning() {
numInstances = 200 numInstances = 200
} else { } else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment