Skip to content

Commit

Permalink
Merge pull request kubernetes#88476 from ingvagabund/allow-to-overrid…
Browse files Browse the repository at this point in the history
…e-test-benchtime

scheduler_perf: allow to override the default benchtime
  • Loading branch information
k8s-ci-robot authored Feb 25, 2020
2 parents 390a54f + b50f60c commit 418afb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/jenkins/benchmark-dockerized.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ cd "${GOPATH}/src/k8s.io/kubernetes"
./hack/install-etcd.sh

# Run the benchmark tests and pretty-print the results into a separate file.
make test-integration WHAT="$*" KUBE_TEST_ARGS="-run='XXX' -bench=${TEST_PREFIX:-.} -benchmem -alsologtostderr=false -logtostderr=false -data-items-dir=${ARTIFACTS}" \
make test-integration WHAT="$*" KUBE_TEST_ARGS="-run='XXX' -bench=${TEST_PREFIX:-.} -benchtime=${BENCHTIME:-1s} -benchmem -alsologtostderr=false -logtostderr=false -data-items-dir=${ARTIFACTS}" \
| (go run test/integration/benchmark/extractlog/main.go) \
| tee \
>(prettybench -no-passthrough > "${ARTIFACTS}/BenchmarkResults.txt") \
Expand Down

0 comments on commit 418afb7

Please sign in to comment.