Fix bug in dockerized benchmarking script

pull/6/head
Shyam Jeedigunta 2018-01-24 20:05:45 +01:00
parent 47d61ef472
commit 040bce890a
1 changed files with 1 additions and 1 deletions

View File

@ -45,11 +45,11 @@ export KUBE_COVER="n"
export KUBE_JUNIT_REPORT_DIR=${WORKSPACE}/artifacts
export ARTIFACTS_DIR=${WORKSPACE}/artifacts
mkdir -p "${ARTIFACTS_DIR}"
cd /go/src/k8s.io/kubernetes
./hack/install-etcd.sh
# 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" \
| tee >(prettybench -no-passthrough > ${ARTIFACTS_DIR}/BenchmarkResults.txt)