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

fix: let godog handle the creation of the junit test file (#629) backport for 6.8.x #634

Merged
merged 1 commit into from
Jan 20, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions .ci/scripts/functional-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,4 @@ mkdir -p outputs

REPORT="$(pwd)/outputs/TEST-${SUITE}"

## Generate test report even if make failed.
set +e
exit_status=0
if ! SUITE=${SUITE} TAGS="${TAGS}" FORMAT=junit:${REPORT}.xml STACK_VERSION=${STACK_VERSION} METRICBEAT_VERSION=${METRICBEAT_VERSION} make --no-print-directory -C e2e functional-test ; then
echo 'ERROR: functional-test failed'
exit_status=1
fi

exit $exit_status
SUITE=${SUITE} TAGS="${TAGS}" FORMAT=junit:${REPORT}.xml STACK_VERSION=${STACK_VERSION} METRICBEAT_VERSION=${METRICBEAT_VERSION} make --no-print-directory -C e2e functional-test