mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 06:54:01 +00:00
Merge pull request #58764 from shyamjvs/fix-benchmark-script
Automatic merge from submit-queue (batch tested with PRs 58661, 58764, 58368, 58739, 58773). 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>. Fix bug in dockerized benchmarking script Ref https://github.com/kubernetes/test-infra/issues/6392#issuecomment-360241294 /cc @krzyzacy /assign @gmarek ```release-note NONE ```
This commit is contained in:
commit
4902169ba7
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user