Create benchmark results file before writing to it

This commit is contained in:
Shyam Jeedigunta 2018-01-24 14:21:29 +01:00
parent 2f4cca73af
commit d0d7cf644e

View File

@ -50,5 +50,6 @@ 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)