From 6a2666e32232ea548b67fc293ec2751991b901a0 Mon Sep 17 00:00:00 2001 From: pzurek Date: Mon, 28 Feb 2022 08:43:16 +0100 Subject: [PATCH] Investigate Travis failure --- e2e-test/helpers/wait-service-to-start.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/e2e-test/helpers/wait-service-to-start.sh b/e2e-test/helpers/wait-service-to-start.sh index bbe1ac48f..921b4de11 100755 --- a/e2e-test/helpers/wait-service-to-start.sh +++ b/e2e-test/helpers/wait-service-to-start.sh @@ -4,7 +4,7 @@ set -x # trace what gets exe WAIT_INTERVAL=1 COUNTER=0 -TIMEOUT=2000 +TIMEOUT=120 t0=`date +%s` declare -a endpoints=("${1:-http://localhost:8081/alfresco/}" "${1:-http://localhost:8083/solr/}") @@ -23,6 +23,7 @@ do printf '.' sleep $WAIT_INTERVAL COUNTER=$(($COUNTER+$WAIT_INTERVAL)) + curl -vvv "${additional_args[@]}" --head --fail ${endpoint} done if (("$COUNTER" < "$TIMEOUT")) ; then