test-integration: allow enabling race detection

A job may now enable race detection via KUBE_RACE=-race.
This commit is contained in:
Patrick Ohly
2025-06-02 11:47:42 +02:00
parent 02eb7d424a
commit 6cb14884b6

View File

@@ -95,7 +95,7 @@ runTests() {
WHAT="${WHAT:-$(kube::test::find_integration_test_pkgs | paste -sd' ' -)}" \
GOFLAGS="${GOFLAGS:-}" \
KUBE_TIMEOUT="${KUBE_TIMEOUT}" \
KUBE_RACE="" \
KUBE_RACE=${KUBE_RACE:-""} \
MAKEFLAGS="" \
make -C "${KUBE_ROOT}" test