From e3e1df2dd6a4e8c45d652d83fcab6dc603778846 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Barto=C5=A1?= Date: Fri, 14 Apr 2023 13:00:11 +0200 Subject: [PATCH] Fix Quarkus IT (zip) tests --- .../src/test/java/org/keycloak/it/cli/dist/ExportDistTest.java | 2 +- .../src/test/java/org/keycloak/it/cli/dist/ImportDistTest.java | 2 +- .../org/keycloak/it/cli/dist/QuarkusPropertiesDistTest.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/quarkus/tests/integration/src/test/java/org/keycloak/it/cli/dist/ExportDistTest.java b/quarkus/tests/integration/src/test/java/org/keycloak/it/cli/dist/ExportDistTest.java index dd90d58e2a..8e23772f80 100644 --- a/quarkus/tests/integration/src/test/java/org/keycloak/it/cli/dist/ExportDistTest.java +++ b/quarkus/tests/integration/src/test/java/org/keycloak/it/cli/dist/ExportDistTest.java @@ -35,7 +35,7 @@ public class ExportDistTest { cliResult.assertMessage("Export of realm 'master' requested."); cliResult.assertMessage("Export finished successfully"); cliResult.assertNoMessage("Changes detected in configuration"); - cliResult.assertNoMessage("Listening on:"); + cliResult.assertNoMessage("Listening on: http"); cliResult = dist.run("export", "--realm=master"); cliResult.assertMessage("Must specify either --dir or --file options."); diff --git a/quarkus/tests/integration/src/test/java/org/keycloak/it/cli/dist/ImportDistTest.java b/quarkus/tests/integration/src/test/java/org/keycloak/it/cli/dist/ImportDistTest.java index 9e602f8a6c..09d5484f38 100644 --- a/quarkus/tests/integration/src/test/java/org/keycloak/it/cli/dist/ImportDistTest.java +++ b/quarkus/tests/integration/src/test/java/org/keycloak/it/cli/dist/ImportDistTest.java @@ -42,6 +42,6 @@ public class ImportDistTest { cliResult.assertMessage("Realm 'master' imported"); cliResult.assertMessage("Import finished successfully"); cliResult.assertNoMessage("Changes detected in configuration"); - cliResult.assertNoMessage("Listening on:"); + cliResult.assertNoMessage("Listening on: http"); } } diff --git a/quarkus/tests/integration/src/test/java/org/keycloak/it/cli/dist/QuarkusPropertiesDistTest.java b/quarkus/tests/integration/src/test/java/org/keycloak/it/cli/dist/QuarkusPropertiesDistTest.java index 2aecaf8765..8fcc36a74a 100644 --- a/quarkus/tests/integration/src/test/java/org/keycloak/it/cli/dist/QuarkusPropertiesDistTest.java +++ b/quarkus/tests/integration/src/test/java/org/keycloak/it/cli/dist/QuarkusPropertiesDistTest.java @@ -45,7 +45,7 @@ import io.quarkus.test.junit.main.LaunchResult; @LegacyStore public class QuarkusPropertiesDistTest { - private static final String QUARKUS_BUILDTIME_HIBERNATE_METRICS_KEY = "quarkus.hibernate-orm.metrics.enabled"; + private static final String QUARKUS_BUILDTIME_HIBERNATE_METRICS_KEY = "quarkus.datasource.metrics.enabled"; private static final String QUARKUS_RUNTIME_CONSOLE_LOGLVL_KEY = "quarkus.log.console.level"; @Test