Accept the `$JUNIT_REPORT` flag in networking tests
@@ -318,6 +318,13 @@ else
os::util::environment::setup_tmpdir_vars "test-extended/networking"
+ # Allow setting $JUNIT_REPORT to toggle output behavior
+ if [[ -n "${JUNIT_REPORT:-}" ]]; then
+ export JUNIT_REPORT_OUTPUT="${LOG_DIR}/raw_test_output.log"
+ # the Ginkgo tests also generate jUnit but expect different envars
+ export TEST_REPORT_DIR="${ARTIFACT_DIR}"
+ fi
+
os::log::system::start
os::log::info "Building docker-in-docker images"
