Skip to content

Commit 3b480e2

Browse files
committed
pull-kubernetes-scheduler-perf: use -benchtime=1x
Update scheduler benchmark parameters to use -benchtime=1x instead of -benchtime=1ns to explicitly run benchmarks one time.
1 parent 4ad308b commit 3b480e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/jobs/kubernetes/sig-scheduling/sig-scheduling-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ presubmits:
8080
args:
8181
- /bin/sh
8282
- -c
83-
- ./hack/install-etcd.sh && PATH=${PWD}/third_party/etcd:${PATH} make test-integration WHAT=./test/integration/scheduler_perf/... KUBE_CACHE_MUTATION_DETECTOR=false KUBE_TIMEOUT=--timeout=3h55m ETCD_LOGLEVEL=warn KUBE_TEST_ARGS="-run=nothing-because-no-test-has-this-name -benchtime=1ns -bench=BenchmarkPerfScheduling -data-items-dir=${ARTIFACTS}" SHORT='--short=false' KUBE_PRUNE_JUNIT_TESTS=false
83+
- ./hack/install-etcd.sh && PATH=${PWD}/third_party/etcd:${PATH} make test-integration WHAT=./test/integration/scheduler_perf/... KUBE_CACHE_MUTATION_DETECTOR=false KUBE_TIMEOUT=--timeout=3h55m ETCD_LOGLEVEL=warn KUBE_TEST_ARGS="-run=nothing-because-no-test-has-this-name -benchtime=1x -bench=BenchmarkPerfScheduling -data-items-dir=${ARTIFACTS}" SHORT='--short=false' KUBE_PRUNE_JUNIT_TESTS=false
8484
# We need to constraint compute resources so all the tests
8585
# finish approximately at the same time. More compute power
8686
# can increase scheduling throughput and make consequent results

0 commit comments

Comments
 (0)