From 64f77ebfb75cee4db80b402103d5ef0957aa8f0f Mon Sep 17 00:00:00 2001 From: Mike Danese Date: Tue, 6 Jun 2017 16:27:35 -0700 Subject: [PATCH] enable race detection on integration tests --- hack/make-rules/test-integration.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hack/make-rules/test-integration.sh b/hack/make-rules/test-integration.sh index f0f040c682b..d6359259a12 100755 --- a/hack/make-rules/test-integration.sh +++ b/hack/make-rules/test-integration.sh @@ -67,8 +67,7 @@ runTests() { kube::etcd::start kube::log::status "Running integration test cases" - # TODO: Re-enable race detection when we switch to a thread-safe etcd client - # KUBE_RACE="-race" + KUBE_RACE="-race" make -C "${KUBE_ROOT}" test \ WHAT="${WHAT:-$(kube::test::find_integration_test_dirs | paste -sd' ' -)}" \ KUBE_GOFLAGS="${KUBE_GOFLAGS:-}" \