mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
enable race detector by default in make test
This commit is contained in:
parent
0ccf53dd20
commit
3c44b86ad6
@ -71,7 +71,10 @@ KUBE_COVER_REPORT_DIR="${KUBE_COVER_REPORT_DIR:-}"
|
||||
# How many 'go test' instances to run simultaneously when running tests in
|
||||
# coverage mode.
|
||||
KUBE_COVERPROCS=${KUBE_COVERPROCS:-4}
|
||||
KUBE_RACE=${KUBE_RACE:-} # use KUBE_RACE="-race" to enable race testing
|
||||
# use KUBE_RACE="" to disable the race detector
|
||||
# this is defaulted to "-race" in make test as well
|
||||
# NOTE: DO NOT ADD A COLON HERE. KUBE_RACE="" is meaningful!
|
||||
KUBE_RACE=${KUBE_RACE-"-race"}
|
||||
# Set to the goveralls binary path to report coverage results to Coveralls.io.
|
||||
KUBE_GOVERALLS_BIN=${KUBE_GOVERALLS_BIN:-}
|
||||
# once we have multiple group supports
|
||||
|
Loading…
Reference in New Issue
Block a user