Merge pull request #4803 from nextcloud/postgres-sleep
Add 10 seconds sleep time after postgres startup
This commit is contained in:
commit
31128ec52b
|
@ -311,6 +311,8 @@ function execute_tests {
|
||||||
echo "[ERROR] Waited 60 seconds, no response" >&2
|
echo "[ERROR] Waited 60 seconds, no response" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
echo "Give it 10 additional seconds ..."
|
||||||
|
sleep 10
|
||||||
|
|
||||||
if [ -z "$DRONE" ] ; then # no need to drop the DB when we are on CI
|
if [ -z "$DRONE" ] ; then # no need to drop the DB when we are on CI
|
||||||
dropdb -U "$DATABASEUSER" "$DATABASENAME" || true
|
dropdb -U "$DATABASEUSER" "$DATABASENAME" || true
|
||||||
|
|
Loading…
Reference in New Issue