Skip to content

Commit

Permalink
Kill WR if test is stopped with SIGINT or SIGKILL.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjkw31 committed Aug 21, 2024
1 parent 773b80a commit 23b3cd3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1546,6 +1546,9 @@ func TestEnd2End(t *testing.T) {
" exit ${1:-0}\n"+
"}\n"+
"\n"+
"trap stop SIGINT\n"+
"trap stop EXIT\n"+
"\n"+
"waitForJobs() {\n"+
" until [ $(wr status | wc -l) -le 1 ]; do \n"+
" if [ $(wr status -b | wc -l ) -gt 1 ]; then\n"+
Expand Down

0 comments on commit 23b3cd3

Please sign in to comment.