Unverified Commit 9fed4878 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #58749 from shyamjvs/benchmark-script-fix

Automatic merge from submit-queue (batch tested with PRs 58561, 58749). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Create benchmark results file before writing to it To see if it helps with https://github.com/kubernetes/test-infra/issues/6392#issuecomment-360127048 /cc @gmarek
parents 6e65c235 d0d7cf64
......@@ -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)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment