mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-26 04:36:00 +00:00
Merge pull request #128834 from pohly/scheduler-perf-pass-workaround
scheduler_perf: fix and enhance reporting
This commit is contained in:
@@ -81,6 +81,8 @@ fi
|
||||
# Set to 'y' to keep the verbose stdout from tests when KUBE_JUNIT_REPORT_DIR is
|
||||
# set.
|
||||
KUBE_KEEP_VERBOSE_TEST_OUTPUT=${KUBE_KEEP_VERBOSE_TEST_OUTPUT:-n}
|
||||
# Set to 'false' to disable reduction of the JUnit file to only the top level tests.
|
||||
KUBE_PRUNE_JUNIT_TESTS=${KUBE_PRUNE_JUNIT_TESTS:-true}
|
||||
|
||||
kube::test::usage() {
|
||||
kube::log::usage_from_stdin <<EOF
|
||||
@@ -234,7 +236,7 @@ runTests() {
|
||||
&& rc=$? || rc=$?
|
||||
|
||||
if [[ -n "${junit_filename_prefix}" ]]; then
|
||||
prune-junit-xml "${junit_filename_prefix}.xml"
|
||||
prune-junit-xml -prune-tests="${KUBE_PRUNE_JUNIT_TESTS}" "${junit_filename_prefix}.xml"
|
||||
fi
|
||||
|
||||
if [[ ${KUBE_COVER} =~ ^[yY]$ ]]; then
|
||||
|
Reference in New Issue
Block a user