mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
don't redundantly set KUBE_RACE in test-integration.sh
This commit is contained in:
parent
3c44b86ad6
commit
55d2868e9d
@ -66,16 +66,12 @@ runTests() {
|
|||||||
kube::etcd::start
|
kube::etcd::start
|
||||||
kube::log::status "Running integration test cases"
|
kube::log::status "Running integration test cases"
|
||||||
|
|
||||||
# export KUBE_RACE
|
|
||||||
#
|
|
||||||
# Enable the Go race detector.
|
|
||||||
export KUBE_RACE="-race"
|
|
||||||
make -C "${KUBE_ROOT}" test \
|
make -C "${KUBE_ROOT}" test \
|
||||||
WHAT="${WHAT:-$(kube::test::find_integration_test_dirs | paste -sd' ' -)}" \
|
WHAT="${WHAT:-$(kube::test::find_integration_test_dirs | paste -sd' ' -)}" \
|
||||||
GOFLAGS="${GOFLAGS:-}" \
|
GOFLAGS="${GOFLAGS:-}" \
|
||||||
KUBE_TEST_ARGS="--alsologtostderr=true ${KUBE_TEST_ARGS:-} ${SHORT:--short=true} --vmodule=${KUBE_TEST_VMODULE}" \
|
KUBE_TEST_ARGS="--alsologtostderr=true ${KUBE_TEST_ARGS:-} ${SHORT:--short=true} --vmodule=${KUBE_TEST_VMODULE}" \
|
||||||
KUBE_RACE="" \
|
KUBE_TIMEOUT="${KUBE_TIMEOUT}" \
|
||||||
KUBE_TIMEOUT="${KUBE_TIMEOUT}"
|
KUBE_RACE=""
|
||||||
|
|
||||||
cleanup
|
cleanup
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user