mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Report scheduler_perf integration test kube-scheduler metrics into artifacts dir
make test-integration ran within jenkins job does not collect json file with generated metrics from kube-scheduler. The artifacts dir needs to be set explicitly through new -data-items-dir test flag. The metrics are required to provide more comphrehensive information about kube-scheduler internals.
This commit is contained in:
parent
208df3828d
commit
51120d133c
@ -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" \
|
||||
make test-integration WHAT="$*" KUBE_TEST_ARGS="-run='XXX' -bench=${TEST_PREFIX:-.} -benchmem -alsologtostderr=false -logtostderr=false -data-items-dir=${ARTIFACTS}" \
|
||||
| (go run test/integration/benchmark/extractlog/main.go) \
|
||||
| tee \
|
||||
>(prettybench -no-passthrough > "${ARTIFACTS}/BenchmarkResults.txt") \
|
||||
|
Loading…
Reference in New Issue
Block a user