Skip to content

Commit

Permalink
Merge pull request kubernetes#58749 from shyamjvs/benchmark-script-fix
Browse files Browse the repository at this point in the history
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 kubernetes/test-infra#6392 (comment)

/cc @gmarek
  • Loading branch information
Kubernetes Submit Queue authored Jan 24, 2018
2 parents 6e65c23 + d0d7cf6 commit 9fed487
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hack/jenkins/benchmark-dockerized.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 9fed487

Please sign in to comment.