commit 78517c1e503932a6820dc8ad029e08982b4cc5da
parent d46f704400cb8654936bcb7a9b7ebb056800ba5e
Author: MS <ms@taler.net>
Date: Mon, 12 Oct 2020 15:19:23 +0200
fix services check
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/buildbot/checks.sh b/buildbot/checks.sh
@@ -68,7 +68,7 @@ URL="https://survey.${DEPLOYMENT}.${DOMAIN}/"
http_status_code=$(curl \
-s $URL -o /dev/null \
-w "%{http_code}")
-if ! test 200 = $http_status_code; then
+if ! test 302 = $http_status_code; then
printf "%s failed\n" $URL
printf "$error_fmt" \
"Survey site did not restart correctly" \
@@ -80,7 +80,7 @@ URL="https://donations.${DEPLOYMENT}.${DOMAIN}/"
http_status_code=$(curl \
-s $URL -o /dev/null \
-w "%{http_code}")
-if ! test 200 = $http_status_code; then
+if ! test 302 = $http_status_code; then
printf "%s failed\n" $URL
printf "$error_fmt" \
"Donations shop did not restart correctly" \