Skip to content
Snippets Groups Projects
Commit 068cf332 authored by Jan David Mol's avatar Jan David Mol
Browse files

L2SS-722: Wait explicitly for the archiving database to become available

parent b1f86b86
No related branches found
No related tags found
1 merge request!299Resolve L2SS-722: Fix the integration tests
...@@ -60,6 +60,10 @@ make start archiver-timescale hdbppts-cm hdbppts-es ...@@ -60,6 +60,10 @@ make start archiver-timescale hdbppts-cm hdbppts-es
# TODO(Corne Lukken): Use a nicer more reliable mechanism # TODO(Corne Lukken): Use a nicer more reliable mechanism
sleep 60 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 # Start the integration test
cd "$LOFAR20_DIR/docker-compose" || exit 1 cd "$LOFAR20_DIR/docker-compose" || exit 1
make up integration-test make up integration-test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment