Skip to content

Commit

Permalink
Always test in race mode
Browse files Browse the repository at this point in the history
  • Loading branch information
moskyb committed May 18, 2023
1 parent 7143021 commit 4eb2aa5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
14 changes: 0 additions & 14 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,20 +46,6 @@ steps:
files: "junit-*.xml"
format: "junit"

- name: ":satellite: Detect Data Races"
key: test-race-linux-arm64
command: ".buildkite/steps/tests.sh -race"
artifact_paths: junit-*.xml
agents:
queue: agent-runners-linux-arm64
plugins:
docker-compose#v3.0.0:
config: .buildkite/docker-compose.yml
run: agent
test-collector#v1.2.0:
files: "junit-*.xml"
format: "junit"

- name: ":windows: Windows AMD64 Tests"
key: test-windows
command: "bash .buildkite\\steps\\tests.sh"
Expand Down
4 changes: 2 additions & 2 deletions .buildkite/steps/tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ echo arch is "$(uname -m)"
go install gotest.tools/gotestsum@v1.8.0

echo '+++ Running tests'
gotestsum --junitfile "junit-${BUILDKITE_JOB_ID}.xml" -- -count=1 -failfast "$@" ./...
gotestsum --junitfile "junit-${BUILDKITE_JOB_ID}.xml" -- -count=1 -failfast -race ./...

echo '+++ Running integration tests for git-mirrors experiment'
TEST_EXPERIMENT=git-mirrors gotestsum --junitfile "junit-${BUILDKITE_JOB_ID}-git-mirrors.xml" -- -count=1 -failfast "$@" ./bootstrap/integration
TEST_EXPERIMENT=git-mirrors gotestsum --junitfile "junit-${BUILDKITE_JOB_ID}-git-mirrors.xml" -- -count=1 -failfast -race ./bootstrap/integration

0 comments on commit 4eb2aa5

Please sign in to comment.