diff --git a/sbin/run_integration_test.sh b/sbin/run_integration_test.sh index acac6e21e1aeb0850d19aa420a4fe5c9a72970b9..aec2d1d4082c04460a52476ac506597c28aa45eb 100755 --- a/sbin/run_integration_test.sh +++ b/sbin/run_integration_test.sh @@ -60,6 +60,10 @@ make start archiver-timescale hdbppts-cm hdbppts-es # TODO(Corne Lukken): Use a nicer more reliable mechanism sleep 60 +# Give archiver-timescale time to start +# shellcheck disable=SC2016 +echo '/usr/local/bin/wait-for-it.sh archiver-timescale:5432 --strict --timeout=300 -- true' | make run dsconfig bash - + # Start the integration test cd "$LOFAR20_DIR/docker-compose" || exit 1 make up integration-test