Browse Source

Add 10 seconds sleep time after postgres startup

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Morris Jobke 7 years ago
parent
commit
ca62984b8c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      autotest.sh

+ 2 - 0
autotest.sh

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