Unverified Commit 5d28b384 authored by Steven Allen's avatar Steven Allen Committed by GitHub

ci: test with the race detector (#277)

parent b647e029
......@@ -9,6 +9,9 @@ workflows:
- ci-go/build
- ci-go/lint
- ci-go/test
- ci-go/test:
race: true
name: "ci-go/test/race"
- ci-go/benchmark:
tolerance: 50
requires:
......
......@@ -245,7 +245,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 = 50
numInstances = 20
} else if travis.IsRunning() {
numInstances = 200
} 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