Skip to content

Commit

Permalink
And another one
Browse files Browse the repository at this point in the history
  • Loading branch information
jajik committed Jul 21, 2023
1 parent 3007ad2 commit 0def346
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/includes/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ####"
Expand All @@ -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)
Expand All @@ -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!"
}
Expand Down

0 comments on commit 0def346

Please sign in to comment.