Test logs for Quarkus IT are huge and cannot be viewed (#37088)

Closes #37087

Signed-off-by: Martin Bartoš <mabartos@redhat.com>
This commit is contained in:
Martin Bartoš 2025-02-14 16:50:27 +00:00 committed by GitHub
parent b4f14b2690
commit 7fa4bd550c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 4 deletions

View File

@ -187,8 +187,9 @@ public class QuarkusPropertiesDistTest {
"--config-keystore=../../../../src/test/resources/keystore", "--config-keystore-password=secret" })
@Order(12)
void testSmallRyeKeyStoreConfigSource(CLIResult cliResult) {
// keytool -importpass -alias kc.log-level -keystore keystore -storepass secret -storetype PKCS12 -v (with "debug" as the stored password)
cliResult.assertMessage("DEBUG");
// keytool -importpass -alias kc.log-level -keystore keystore -storepass secret -storetype PKCS12 -v (with "org.keycloak.timer:debug" as the stored password)
cliResult.assertNoMessage("DEBUG [org.keycloak.services");
cliResult.assertMessage("DEBUG [org.keycloak.timer");
cliResult.assertStarted();
}

View File

@ -85,8 +85,11 @@ public class StartDevCommandDistTest {
CLIResult cliResult = dist.run("start-dev", "--config-keystore=" + Paths.get("src/test/resources/keystore").toAbsolutePath().normalize(),
"--config-keystore-password=secret");
cliResult.assertMessage("DEBUG [org.hibernate");
cliResult.assertMessage("DEBUG [org.keycloak");
// keytool -importpass -alias kc.log-level -keystore keystore -storepass secret -storetype PKCS12 -v (with "org.keycloak.timer:debug" as the stored password)
cliResult.assertNoMessage("DEBUG [org.keycloak.services");
cliResult.assertMessage("DEBUG [org.keycloak.timer");
cliResult.assertNoMessage("DEBUG [org.hibernate");
cliResult.assertMessage("Listening on:");
cliResult.assertStartedDevMode();
}