diff --git a/hack/make-rules/test.sh b/hack/make-rules/test.sh index acdce78a57a..3b9e5520cc6 100755 --- a/hack/make-rules/test.sh +++ b/hack/make-rules/test.sh @@ -253,7 +253,7 @@ runTests() { # If we're not collecting coverage, run all requested tests with one 'go test' # command, which is much faster. if [[ ! ${KUBE_COVER} =~ ^[yY]$ ]]; then - kube::log::status "Running tests without code coverage" + kube::log::status "Running tests without code coverage ${KUBE_RACE:+"and with ${KUBE_RACE}"}" go test "${goflags[@]:+${goflags[@]}}" \ "${KUBE_TIMEOUT}" "${@}" \ "${testargs[@]:+${testargs[@]}}" \ @@ -263,6 +263,8 @@ runTests() { return ${rc} fi + kube::log::status "Running tests with code coverage ${KUBE_RACE:+"and with ${KUBE_RACE}"}" + # Create coverage report directories. if [[ -z "${KUBE_COVER_REPORT_DIR}" ]]; then cover_report_dir="/tmp/k8s_coverage/$(kube::util::sortable_date)"