提交 a5e9d0a2 作者: Steven Allen

make bitswap tests pass again with the race detector enabled

fixes #2444

License: MIT
Signed-off-by: 's avatarSteven Allen <steven@stebalien.com>
上级 a77e0e47
......@@ -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 {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论