Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/travis_ci.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2020-06-25 10:53:22 +0300
committerGitHub <noreply@github.com>2020-06-25 10:53:22 +0300
commit28052aea74ffd91e00f9fe9218f1f464820a02f8 (patch)
tree7abf0f3b4f3260f6fd8194ff4ab629212343ae1a
parentbc98828ea08527251dca1118c8b07bcea20197a9 (diff)
Revert "Adjust the timeout for postgres to the one of mysql"
-rwxr-xr-xbefore_install.sh4
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 ..."