Skip to content
Draft
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
9 changes: 8 additions & 1 deletion e2e-tests/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,13 @@ env \
"${ROBOT_ARGS[@]}" \
"$@" \
"${TESTS_TO_RUN[@]}" \
|| test_result=$?
&
robot_pid=$!

# Forward SIGTERM/SIGINT to robot so that CI job cancellation reaches it.
# Without this, bash exits on SIGTERM but leaves robot running as an orphan.
trap 'kill $robot_pid 2>/dev/null' SIGTERM SIGINT

wait $robot_pid || test_result=$?

exit "${test_result:-0}"
Loading