Skip to content

Commit

Permalink
ci: disable race detector for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chappjc committed May 22, 2019
1 parent 796bd32 commit 71bb36a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ testrepo () {

# run tests on all modules
for MODPATH in $MODPATHS; do
env GORACE='halt_on_error=1' go test -v -race $(cd $MODPATH && go list -m)
env GORACE='halt_on_error=1' go test -v $(cd $MODPATH && go list -m)
done

# check linters
Expand Down
2 changes: 1 addition & 1 deletion run_tests_with_chartests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ testrepo () {

# run tests on all modules
for MODPATH in $MODPATHS; do
env GORACE='halt_on_error=1' go test -v -race -tags chartests $(cd $MODPATH && go list -m)
env go test -v -tags chartests $(cd $MODPATH && go list -m)
done

# check linters
Expand Down

0 comments on commit 71bb36a

Please sign in to comment.