diff --git a/sh/integration-tests.sh b/sh/integration-tests.sh index 26f19ed3ac..c60cfe4d84 100755 --- a/sh/integration-tests.sh +++ b/sh/integration-tests.sh @@ -27,7 +27,7 @@ echo "[test] Spawned node process $NODE_PID." # make sure we have enough time for the server to start echo "[test] Sleeping for $TIMEOUT seconds." -sleep $TIMEOUT +sleep "$TIMEOUT" echo "[test] running tests using mocha" diff --git a/sh/test-ends.sh b/sh/test-ends.sh index d5b9977798..3425e3ce0d 100755 --- a/sh/test-ends.sh +++ b/sh/test-ends.sh @@ -27,6 +27,9 @@ NODE_PID=$! echo "[test] Spawned node process $NODE_PID." +echo "[test] Sleeping for $TIMEOUT seconds." +sleep "$TIMEOUT" + echo "[test] Running tests using protractor." ../node_modules/.bin/protractor ../protractor.conf.js