EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit 03c52a57 authored by Lubomir Dolezal's avatar Lubomir Dolezal
Browse files

updating wait function of test

parent ca3ce5f3
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
# waiting for the database to finish migration!
sleep 60
while [ -z $(docker ps -qf "name=emg-pvs_renderer") ]; do
>&2 echo "Container is unavailable - sleeping"
sleep 15
while [ -z $(docker exec -i $(docker ps -qf "name=emg-pvs_registrar") python3 /var/www/pvs/dev/pvs_instance/manage.py id list) ]; do
>&2 echo "Collection is not created yet - sleeping"
sleep 20
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