Merge pull request #128834 from pohly/scheduler-perf-pass-workaround

scheduler_perf: fix and enhance reporting
This commit is contained in:
Kubernetes Prow Robot
2024-11-21 16:08:55 +00:00
committed by GitHub
2 changed files with 48 additions and 16 deletions

View File

@@ -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