From 670281a0fa39ca5d3e5eea89cc892525bf90d31b Mon Sep 17 00:00:00 2001 From: zhanghongtong Date: Thu, 18 Nov 2021 14:39:18 +0800 Subject: [PATCH] ci: change localhost to 127.0.0.1 for support new curl version --- .ci/build_packages/tests.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.ci/build_packages/tests.sh b/.ci/build_packages/tests.sh index da0ec7362..a0f85fa22 100755 --- a/.ci/build_packages/tests.sh +++ b/.ci/build_packages/tests.sh @@ -53,7 +53,7 @@ emqx_test(){ exit 1 fi IDLE_TIME=0 - while ! curl http://localhost:18083/api/v5/status >/dev/null 2>&1; do + while ! curl http://127.0.0.1:18083/api/v5/status >/dev/null 2>&1; do if [ $IDLE_TIME -gt 10 ] then echo "emqx running error" @@ -155,7 +155,7 @@ EOF exit 1 fi IDLE_TIME=0 - while ! curl http://localhost:18083/api/v5/status >/dev/null 2>&1; do + while ! curl http://127.0.0.1:18083/api/v5/status >/dev/null 2>&1; do if [ $IDLE_TIME -gt 10 ] then echo "emqx running error" @@ -184,7 +184,7 @@ EOF exit 1 fi IDLE_TIME=0 - while ! curl http://localhost:18083/api/v5/status >/dev/null 2>&1; do + while ! curl http://127.0.0.1:18083/api/v5/status >/dev/null 2>&1; do if [ $IDLE_TIME -gt 10 ] then echo "emqx service error"