From 0def3461acffb2a56bef8d27ddeaaafc5fb388a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Chlup?= Date: Fri, 21 Jul 2023 15:27:47 +0200 Subject: [PATCH] And another one --- test/includes/common.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/includes/common.sh b/test/includes/common.sh index dde36018..c179fded 100644 --- a/test/includes/common.sh +++ b/test/includes/common.sh @@ -57,7 +57,7 @@ httpd_run() { -e SOURCES=${MPC_SOURCES:-https://github.com/modcluster/mod_proxy_cluster} \ -e BRANCH=${MPC_BRANCH:-main} \ -e CONF=${MPC_CONF:-https://raw.githubusercontent.com/modcluster/mod_proxy_cluster/main/test/httpd/mod_proxy_cluster.conf} \ - #-p 6666:6666 -p 8000:8000 \ + -p 6666:6666 -p 8000:8000 \ $HTTPD_IMG sleep 120 echo "#### DOCKER INSPECT HTTPD ####" @@ -71,7 +71,7 @@ httpd_run() { httpd_wait_until_ready() { local i=0 - curl -L 0.0.0.0:6666 + curl 0.0.0.0:6666 while [ $? != 0 ]; do i=$(expr $i + 1) @@ -83,7 +83,7 @@ httpd_wait_until_ready() { exit 1; fi sleep 10; - curl -L 0.0.0.0:6666 + curl 0.0.0.0:6666 done echo "success after $i attempts!" }