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: ...@@ -9,6 +9,9 @@ workflows:
- ci-go/build - ci-go/build
- ci-go/lint - ci-go/lint
- ci-go/test - ci-go/test
- ci-go/test:
race: true
name: "ci-go/test/race"
- ci-go/benchmark: - ci-go/benchmark:
tolerance: 50 tolerance: 50
requires: requires:
......
...@@ -245,7 +245,7 @@ func TestLargeSwarm(t *testing.T) { ...@@ -245,7 +245,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 = 50 numInstances = 20
} 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