From 5d4ebc975474def94b68c6e966b0786e6cec9232 Mon Sep 17 00:00:00 2001 From: BramMeerten Date: Thu, 23 Nov 2023 09:01:53 +0100 Subject: [PATCH] Health check on startup is expected to fail, change log level from warning to debug (#97) (#136) Health check on startup is expected to fail, change log level from warning to debug (#97) --- .../jenvtest/process/ProcessReadinessChecker.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/io/javaoperatorsdk/jenvtest/process/ProcessReadinessChecker.java b/core/src/main/java/io/javaoperatorsdk/jenvtest/process/ProcessReadinessChecker.java index 59f00f3..f614767 100644 --- a/core/src/main/java/io/javaoperatorsdk/jenvtest/process/ProcessReadinessChecker.java +++ b/core/src/main/java/io/javaoperatorsdk/jenvtest/process/ProcessReadinessChecker.java @@ -112,7 +112,7 @@ private boolean ready(HttpClient client, HttpRequest request, String processName return response.statusCode() == 200; } catch (ConnectException e) { // still want to retry - log.warn("Cannot connect to the server", e); + log.debug("Cannot connect to the server", e); return false; } catch (IOException e) { throw new JenvtestException(e);