From d06259188706f3c67d9a34ff334fa9b533a84743 Mon Sep 17 00:00:00 2001 From: Semen Bezrukov Date: Wed, 29 Apr 2020 12:24:07 +0300 Subject: [PATCH] Fix https healthcheck --- tests/test.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test.sh b/tests/test.sh index db89cdc..31e4f18 100755 --- a/tests/test.sh +++ b/tests/test.sh @@ -1,5 +1,6 @@ #!/bin/bash +url=${url:-"https://localhost"} private_key=tls.key certificate_request=tls.csr certificate=tls.crt @@ -41,7 +42,7 @@ wakeup_timeout=30 # Get documentserver healthcheck status echo "Wait for service wake up" sleep $wakeup_timeout -healthcheck_res=$(wget --no-check-certificate -qO - localhost/healthcheck) +healthcheck_res=$(wget --no-check-certificate -qO - ${url}/healthcheck) # Fail if it isn't true if [[ $healthcheck_res == "true" ]]; then