tests: Kill Etherpad and wait for it to exit

This commit is contained in:
Richard Hansen 2020-11-20 21:11:21 -05:00 committed by John McLear
parent 9abb77e899
commit c9eb4c72a5
3 changed files with 5 additions and 3 deletions

View file

@ -45,6 +45,6 @@ node remote_runner.js
exit_code=$?
kill $(cat /tmp/sauce.pid)
kill $ep_pid
kill "$ep_pid" && wait "$ep_pid"
exit $exit_code