From 68c122d8544158a9f7b2891c10c40ed51dda3622 Mon Sep 17 00:00:00 2001 From: Loic Dachary Date: Tue, 19 Jan 2021 00:26:55 +0100 Subject: [PATCH] localhost does not exist in the CI --- tests/setup-gitlab.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/setup-gitlab.sh b/tests/setup-gitlab.sh index ac71413..1561fcb 100755 --- a/tests/setup-gitlab.sh +++ b/tests/setup-gitlab.sh @@ -81,7 +81,7 @@ function main() { done for serial in $serials ; do while true ; do - test $(curl --silent http://localhost:818$serial -o /dev/null -w "%{http_code}") = 302 && break + test $(curl --silent http://0.0.0.0:818$serial -o /dev/null -w "%{http_code}") = 302 && break sleep 5 done done