mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	Fix bug in dockerized benchmarking script
This commit is contained in:
		@@ -45,11 +45,11 @@ export KUBE_COVER="n"
 | 
				
			|||||||
export KUBE_JUNIT_REPORT_DIR=${WORKSPACE}/artifacts
 | 
					export KUBE_JUNIT_REPORT_DIR=${WORKSPACE}/artifacts
 | 
				
			||||||
export ARTIFACTS_DIR=${WORKSPACE}/artifacts
 | 
					export ARTIFACTS_DIR=${WORKSPACE}/artifacts
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					mkdir -p "${ARTIFACTS_DIR}"
 | 
				
			||||||
cd /go/src/k8s.io/kubernetes
 | 
					cd /go/src/k8s.io/kubernetes
 | 
				
			||||||
 | 
					
 | 
				
			||||||
./hack/install-etcd.sh
 | 
					./hack/install-etcd.sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Run the benchmark tests and pretty-print the results into a separate file.
 | 
					# Run the benchmark tests and pretty-print the results into a separate file.
 | 
				
			||||||
touch ${ARTIFACTS_DIR}/BenchmarkResults.txt
 | 
					 | 
				
			||||||
make test-integration WHAT="$*" KUBE_TEST_ARGS="-run='XXX' -bench=. -benchmem" \
 | 
					make test-integration WHAT="$*" KUBE_TEST_ARGS="-run='XXX' -bench=. -benchmem" \
 | 
				
			||||||
  | tee >(prettybench -no-passthrough > ${ARTIFACTS_DIR}/BenchmarkResults.txt)
 | 
					  | tee >(prettybench -no-passthrough > ${ARTIFACTS_DIR}/BenchmarkResults.txt)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user