From 661579d15cb157272b223b99b8519a1b94c43a35 Mon Sep 17 00:00:00 2001 From: Bram Meerten Date: Wed, 22 Nov 2023 23:05:04 +0100 Subject: [PATCH] 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);