Skip to content
Snippets Groups Projects
Commit ca62984b authored by Morris Jobke's avatar Morris Jobke
Browse files

Add 10 seconds sleep time after postgres startup


Signed-off-by: default avatarMorris Jobke <hey@morrisjobke.de>
parent affa8d07
No related merge requests found
......@@ -311,6 +311,8 @@ function execute_tests {
echo "[ERROR] Waited 60 seconds, no response" >&2
exit 1
fi
echo "Give it 10 additional seconds ..."
sleep 10
if [ -z "$DRONE" ] ; then # no need to drop the DB when we are on CI
dropdb -U "$DATABASEUSER" "$DATABASENAME" || true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment