diff --git a/test/helpers.bash b/test/helpers.bash index c9a97ae3b0a..ddfa86e33a5 100644 --- a/test/helpers.bash +++ b/test/helpers.bash @@ -197,6 +197,7 @@ function stop_ocid() { function restart_ocid() { if [ "$OCID_PID" != "" ]; then kill "$OCID_PID" >/dev/null 2>&1 + wait "$OCID_PID" start_ocid else echo "you must start ocid first"