From 19fbd910c0f4bd30064a0cea37892607ba8e5391 Mon Sep 17 00:00:00 2001 From: Ash Berlin-Taylor Date: Mon, 15 Nov 2021 17:12:23 +0000 Subject: [PATCH] Stop polling when Webserver doesn't start up in Kube tests Without this return, the poll loop carried on checking for ever, leading to the test timing out in Kubernetes tests instead of failing. --- scripts/ci/libraries/_kind.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/ci/libraries/_kind.sh b/scripts/ci/libraries/_kind.sh index 1fb77ebe2e1e1..5b3ae69a11746 100644 --- a/scripts/ci/libraries/_kind.sh +++ b/scripts/ci/libraries/_kind.sh @@ -298,6 +298,7 @@ function kind::wait_for_webserver_healthy() { echo echo "${COLOR_RED}ERROR: Timeout while waiting for the webserver health check ${COLOR_RESET}" echo + return 1 fi done echo