mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	component tests as integration-tests with short option.
This commit is contained in:
		@@ -42,6 +42,7 @@ kube::test::find_integration_test_dirs() {
 | 
			
		||||
    cd ${KUBE_ROOT}
 | 
			
		||||
    find test/integration/${1-} -name '*_test.go' -print0 \
 | 
			
		||||
      | xargs -0n1 dirname \
 | 
			
		||||
      | uniq \
 | 
			
		||||
      | sort -u
 | 
			
		||||
  )
 | 
			
		||||
}
 | 
			
		||||
@@ -61,7 +62,7 @@ runTests() {
 | 
			
		||||
  # KUBE_RACE="-race"
 | 
			
		||||
  make -C "${KUBE_ROOT}" test \
 | 
			
		||||
      WHAT="$(kube::test::find_integration_test_dirs ${2-} | paste -sd' ' -)" \
 | 
			
		||||
      KUBE_GOFLAGS="${KUBE_GOFLAGS:-} -tags 'integration no-docker'" \
 | 
			
		||||
      KUBE_GOFLAGS="${KUBE_GOFLAGS:-} -short=true -tags 'integration no-docker'" \
 | 
			
		||||
      KUBE_TEST_ARGS="${KUBE_TEST_ARGS:-} --vmodule=garbage*collector*=6 --alsologtostderr=true" \
 | 
			
		||||
      KUBE_RACE="" \
 | 
			
		||||
      KUBE_TIMEOUT="${KUBE_TIMEOUT}" \
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user