Add 10 seconds sleep time after postgres startup

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
Morris Jobke 2017-05-10 21:37:09 -05:00
Родитель affa8d07ca
Коммит ca62984b8c
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -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