This repository has been archived by the owner on Mar 9, 2020. It is now read-only.
Bug/bash script does not wait for containers to finish launching #20
Labels
bug
Something isn't working
Description
Referring to #19 (comment) for file
run_hwsc_user_svc_db.sh
in directorydb-local-run
Not sure what the specific problem is but it seems the bash script does not wait for containers in the background to finish launching before running migration files resulting in a
EOF error
As a temporary work around,
sleep 4
was placed to wait for containers to finish launching in the background before running migrationHow to Reproduce
remove
sleep 4
from the scriptExpected Outcome
1: postgres container is launched and running
2: all migrations are successfully executed
Actual Outcome
Postgres container seemed to be launched but rest of script results in
EOF error
and does not run migrationWork Around
adding
sleep 4
afterdocker run...
The text was updated successfully, but these errors were encountered: