mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-07 20:21:20 +00:00
Create benchmark results file before writing to it
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user