mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Merge pull request #49886 from ironcladlou/int-test-logging
Automatic merge from submit-queue (batch tested with PRs 49992, 48861, 49267, 49356, 49886)
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.
```release-note
NONE
```
/cc @caesarxuchao
			
			
This commit is contained in:
		@@ -37,6 +37,8 @@ KUBE_TIMEOUT="-timeout 600s"
 | 
				
			|||||||
KUBE_INTEGRATION_TEST_MAX_CONCURRENCY=${KUBE_INTEGRATION_TEST_MAX_CONCURRENCY:-"-1"}
 | 
					KUBE_INTEGRATION_TEST_MAX_CONCURRENCY=${KUBE_INTEGRATION_TEST_MAX_CONCURRENCY:-"-1"}
 | 
				
			||||||
LOG_LEVEL=${LOG_LEVEL:-2}
 | 
					LOG_LEVEL=${LOG_LEVEL:-2}
 | 
				
			||||||
KUBE_TEST_ARGS=${KUBE_TEST_ARGS:-}
 | 
					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() {
 | 
					kube::test::find_integration_test_dirs() {
 | 
				
			||||||
  (
 | 
					  (
 | 
				
			||||||
@@ -71,7 +73,7 @@ runTests() {
 | 
				
			|||||||
  make -C "${KUBE_ROOT}" test \
 | 
					  make -C "${KUBE_ROOT}" test \
 | 
				
			||||||
      WHAT="${WHAT:-$(kube::test::find_integration_test_dirs | paste -sd' ' -)}" \
 | 
					      WHAT="${WHAT:-$(kube::test::find_integration_test_dirs | paste -sd' ' -)}" \
 | 
				
			||||||
      GOFLAGS="${GOFLAGS:-}" \
 | 
					      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_RACE="" \
 | 
				
			||||||
      KUBE_TIMEOUT="${KUBE_TIMEOUT}" \
 | 
					      KUBE_TIMEOUT="${KUBE_TIMEOUT}" \
 | 
				
			||||||
      KUBE_TEST_API_VERSIONS="$1"
 | 
					      KUBE_TEST_API_VERSIONS="$1"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user