Skip to content

Commit 227577e

Browse files
authored
Merge pull request kubernetes-csi#258 from gnufied/enable-race-detection
Always enable race detection while running tests
2 parents 988496a + e1ceee2 commit 227577e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.make

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ IMAGE_NAME=$(REGISTRY_NAME)/$*
6262

6363
ifdef V
6464
# Adding "-alsologtostderr" assumes that all test binaries contain glog. This is not guaranteed.
65-
TESTARGS = -v -args -alsologtostderr -v 5
65+
TESTARGS = -race -v -args -alsologtostderr -v 5
6666
else
67-
TESTARGS =
67+
TESTARGS = -race
6868
endif
6969

7070
# Specific packages can be excluded from each of the tests below by setting the *_FILTER_CMD variables

0 commit comments

Comments
 (0)