summaryrefslogtreecommitdiffstats
path: root/autotest.sh
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2017-11-22 17:27:08 +0100
committerRobin Appelman <robin@icewind.nl>2017-11-22 17:57:17 +0100
commit95d0b3d4908f233f82b1e3bf64ba22d0d6c172ce (patch)
tree211faf366d9157bb40e53949277d6254338893a0 /autotest.sh
parentda3004b8f5f6f96f817568c5cba002540d61150b (diff)
downloadnextcloud-server-95d0b3d4908f233f82b1e3bf64ba22d0d6c172ce.tar.gz
nextcloud-server-95d0b3d4908f233f82b1e3bf64ba22d0d6c172ce.zip
run postgresql 10 tests in drone
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'autotest.sh')
-rwxr-xr-xautotest.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/autotest.sh b/autotest.sh
index e7300363c3a..da9661f067b 100755
--- a/autotest.sh
+++ b/autotest.sh
@@ -308,11 +308,11 @@ function execute_tests {
echo "Postgres is up."
else
if [ ! -z "$DRONE" ] ; then
- DATABASEHOST=postgres
+ DATABASEHOST="postgres-$POSTGRES"
fi
echo "Waiting for Postgres to be available ..."
if ! apps/files_external/tests/env/wait-for-connection $DATABASEHOST 5432 60; then
- echo "[ERROR] Waited 60 seconds, no response" >&2
+ echo "[ERROR] Waited 60 seconds for $DATABASEHOST, no response" >&2
exit 1
fi
echo "Give it 10 additional seconds ..."