Skip to content
Snippets Groups Projects
Commit 2e81a045 authored by Bartek Wrona's avatar Bartek Wrona
Browse files

Supplemented definition of helper script due to changed interface of...

Supplemented definition of helper script due to changed interface of `hive.wait_for_ready_instance` function.
parent 05483226
No related branches found
No related tags found
2 merge requests!827Merge develop changes to master,!632Updated HAF submodule and cleared up CI configuration
......@@ -9,7 +9,7 @@ DATABASE_URL=$1
wait_for_postgres() {
echo "Waiting for postgres hosted by container at the URL: ${DATABASE_URL}."
timeout $LIMIT bash -c "until psql \"${DATABASE_URL}\" -c \"SELECT hive.wait_for_ready_instance('4 MIN'::interval);\" ; do sleep 3 ; done"
timeout $LIMIT bash -c "until psql \"${DATABASE_URL}\" -c \"SELECT hive.wait_for_ready_instance(ARRAY['hivemind_app'], '4 MIN'::interval);\" ; do sleep 3 ; done"
}
......
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