From a98801c100d2761465c4182ec83289c5c3d72012 Mon Sep 17 00:00:00 2001 From: Dan Mace Date: Mon, 31 Jul 2017 14:06:46 -0400 Subject: [PATCH] Set default vmodule flag in integration tests Re-introduce a default glog vmodule flag to the integration test setup. The default was removed in d08dfb9 because it was hard-coded and prevented local override. This commit makes the default overridable. --- hack/make-rules/test-integration.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hack/make-rules/test-integration.sh b/hack/make-rules/test-integration.sh index 3bf6023df83..c180f45e89e 100755 --- a/hack/make-rules/test-integration.sh +++ b/hack/make-rules/test-integration.sh @@ -37,6 +37,8 @@ KUBE_TIMEOUT="-timeout 600s" KUBE_INTEGRATION_TEST_MAX_CONCURRENCY=${KUBE_INTEGRATION_TEST_MAX_CONCURRENCY:-"-1"} LOG_LEVEL=${LOG_LEVEL:-2} KUBE_TEST_ARGS=${KUBE_TEST_ARGS:-} +# Default glog module settings. +KUBE_TEST_VMODULE=${KUBE_TEST_VMODULE:-"garbagecollector*=6,graph_builder*=6"} kube::test::find_integration_test_dirs() { ( @@ -71,7 +73,7 @@ runTests() { make -C "${KUBE_ROOT}" test \ WHAT="${WHAT:-$(kube::test::find_integration_test_dirs | paste -sd' ' -)}" \ GOFLAGS="${GOFLAGS:-}" \ - KUBE_TEST_ARGS="${KUBE_TEST_ARGS:-} ${SHORT:--short=true} --alsologtostderr=true" \ + KUBE_TEST_ARGS="${KUBE_TEST_ARGS:-} ${SHORT:--short=true} --vmodule=${KUBE_TEST_VMODULE} --alsologtostderr=true" \ KUBE_RACE="" \ KUBE_TIMEOUT="${KUBE_TIMEOUT}" \ KUBE_TEST_API_VERSIONS="$1"