From b00ce8113ee41f534dbd2f6367d2dfeb212abaf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Barto=C5=A1?= Date: Mon, 15 Jan 2024 17:44:00 +0100 Subject: [PATCH] Comprehensive log for the LoggingDistTest and Quarkus IT (#26199) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #26198 Signed-off-by: Martin Bartoš --- .../test/java/org/keycloak/it/cli/dist/LoggingDistTest.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/quarkus/tests/integration/src/test/java/org/keycloak/it/cli/dist/LoggingDistTest.java b/quarkus/tests/integration/src/test/java/org/keycloak/it/cli/dist/LoggingDistTest.java index c1e11256d9..c69f246cc1 100644 --- a/quarkus/tests/integration/src/test/java/org/keycloak/it/cli/dist/LoggingDistTest.java +++ b/quarkus/tests/integration/src/test/java/org/keycloak/it/cli/dist/LoggingDistTest.java @@ -48,10 +48,11 @@ import java.nio.file.Paths; public class LoggingDistTest { @Test - @Launch({ "start-dev", "--log-level=debug" }) + @Launch({ "start-dev", "--log-level=warn" }) void testSetRootLevel(LaunchResult result) { CLIResult cliResult = (CLIResult) result; - assertTrue(cliResult.getOutput().contains("DEBUG [io.netty.util.internal")); + assertFalse(cliResult.getOutput().contains("INFO [io.quarkus]")); + assertFalse(cliResult.getOutput().contains("Listening on:")); cliResult.assertStartedDevMode(); }