diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2020-06-25 10:53:22 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-25 10:53:22 +0300 |
commit | 28052aea74ffd91e00f9fe9218f1f464820a02f8 (patch) | |
tree | 7abf0f3b4f3260f6fd8194ff4ab629212343ae1a | |
parent | bc98828ea08527251dca1118c8b07bcea20197a9 (diff) |
Revert "Adjust the timeout for postgres to the one of mysql"
-rwxr-xr-x | before_install.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/before_install.sh b/before_install.sh index ccd3cc6..4af44bf 100755 --- a/before_install.sh +++ b/before_install.sh @@ -44,8 +44,8 @@ if [ "$DB" == "pgsql" ] ; then createuser -U travis -s oc_autotest else echo "Waiting for Postgres to be available ..." - if ! ../server/apps/files_external/tests/env/wait-for-connection $DATABASEHOST 5432 600; then - echo "[ERROR] Waited 600 seconds for $DATABASEHOST, no response" >&2 + if ! ../server/apps/files_external/tests/env/wait-for-connection $DATABASEHOST 5432 60; then + echo "[ERROR] Waited 60 seconds for $DATABASEHOST, no response" >&2 exit 1 fi echo "Give it 10 additional seconds ..." |