Skip to content

Commit

Permalink
Fixes #464 Before stopping and removing cid_file. Check if it is present
Browse files Browse the repository at this point in the history
Closes #464

Signed-off-by: Petr "Stone" Hracek <[email protected]>
  • Loading branch information
phracek committed Dec 9, 2024
1 parent fb9f382 commit c1ba006
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/test-lib-nodejs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,10 @@ run_client_test_suite() {
}

kill_test_application() {
docker stop $(cat $cid_file)
rm $cid_file
docker stop $(cat $cid_file)
if [[ -f "$cid_file" ]]; then
rm "$cid_file"
fi
}

wait_for_cid() {
Expand Down

0 comments on commit c1ba006

Please sign in to comment.