From c68fad857a9a7a53af7ba5ae5b5c41973ce1ac53 Mon Sep 17 00:00:00 2001 From: Oleg Bulatov Date: Mon, 9 Dec 2019 13:31:57 +0100 Subject: [PATCH] Use Spyglass-compatible name for junit reports --- hack/test-go.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/test-go.sh b/hack/test-go.sh index 08d1731aa2..0a36dc9462 100755 --- a/hack/test-go.sh +++ b/hack/test-go.sh @@ -128,7 +128,7 @@ if [[ -n "${junit_report}" ]]; then set +o pipefail os::util::ensure::built_binary_exists 'gotest2junit' - report_file="$( mktemp "${ARTIFACT_DIR}/unit_report_XXXXX" ).xml" + report_file="$( mktemp "${ARTIFACT_DIR}/junit_XXXXX" ).xml" go test -json ${gotest_flags} ${test_packages} 2>"${test_error_file}" | tee "${JUNIT_REPORT_OUTPUT}" | gotest2junit > "${report_file}" test_return_code="${PIPESTATUS[0]}"