Skip to content

Commit

Permalink
Allows the fork test script to exit properly (#1865)
Browse files Browse the repository at this point in the history
* Forces fork-test to kill all running nodes

* Better fix
  • Loading branch information
Alan Sapede authored Oct 14, 2022
1 parent 8cb5c08 commit b59da27
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/run-fork-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -174,4 +174,5 @@ then
fi
echo "Done !!"

[[ $SUCCESS_UPGRADE == "true" && $SUCCESS_TEST == "true" ]] && exit 0 || exit 1
kill $PID
[[ $SUCCESS_UPGRADE == "true" && $SUCCESS_TEST == "true" ]] && exit 0 || exit 1

0 comments on commit b59da27

Please sign in to comment.