Skip to content
This repository was archived by the owner on Sep 17, 2024. It is now read-only.

Commit 51c8e21

Browse files
committed
fix: remove "go test" warning from the generated junit file
1 parent 36002a3 commit 51c8e21

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.ci/scripts/functional-test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,6 @@ if ! FEATURE=${FEATURE} FORMAT=junit STACK_VERSION=${STACK_VERSION} METRICBEAT_V
5252
fi
5353

5454
## Transform report to Junit by parsing the stdout generated previously
55+
sed -i -E "s/testing: warning: no tests to run//" ${REPORT}
5556
sed -e 's/^[ \t]*//; s#>.*failed$#>#g' ${REPORT} | grep -E '^<.*>$' > ${REPORT}.xml
5657
exit $exit_status

0 commit comments

Comments
 (0)