From 9c01e87cdb2590dd137bf263f32eb5e089d17392 Mon Sep 17 00:00:00 2001 From: Cao Shufeng Date: Thu, 24 Nov 2016 10:17:27 -0500 Subject: [PATCH] Move "-short" to KUBE_TEST_ARGS "-short" is a argument of "go test", it should be moved to "KUBE_TEST_ARGS". --- hack/make-rules/test-integration.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/make-rules/test-integration.sh b/hack/make-rules/test-integration.sh index 075035cfd69..00ab70692ff 100755 --- a/hack/make-rules/test-integration.sh +++ b/hack/make-rules/test-integration.sh @@ -62,8 +62,8 @@ runTests() { # KUBE_RACE="-race" make -C "${KUBE_ROOT}" test \ WHAT="$(kube::test::find_integration_test_dirs ${2-} | paste -sd' ' -) $(echo ${@:3})" \ - KUBE_GOFLAGS="${KUBE_GOFLAGS:-} ${SHORT:--short=true} -tags 'integration no-docker'" \ - KUBE_TEST_ARGS="${KUBE_TEST_ARGS:-} --vmodule=garbage*collector*=6 --alsologtostderr=true" \ + KUBE_GOFLAGS="${KUBE_GOFLAGS:-} -tags 'integration no-docker'" \ + KUBE_TEST_ARGS="${KUBE_TEST_ARGS:-} ${SHORT:--short=true} --vmodule=garbage*collector*=6 --alsologtostderr=true" \ KUBE_RACE="" \ KUBE_TIMEOUT="${KUBE_TIMEOUT}" \ KUBE_TEST_API_VERSIONS="$1"