Skip to content

Commit

Permalink
Merge pull request #849 from nilo19/chore/add-race
Browse files Browse the repository at this point in the history
chore: detect data race in unit tests
  • Loading branch information
k8s-ci-robot committed Oct 15, 2021
2 parents 7577204 + 9f1c02f commit aec01dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/test-unit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ set -o pipefail
DIR_LIST=$(go list ./... | grep -v tests/e2e)
for DIR in $DIR_LIST
do
go test -v "$DIR"
go test -v -race "$DIR"
done

0 comments on commit aec01dd

Please sign in to comment.