From a84b2852c44480da970a782c2dccda0a02e9a485 Mon Sep 17 00:00:00 2001 From: Alexey Loubyansky Date: Fri, 13 Dec 2024 09:16:52 +0100 Subject: [PATCH] Configure the resolver for dev mode in QuarkusDevModeTest --- integration-tests/logging-panache/pom.xml | 5 ----- .../src/main/java/io/quarkus/test/QuarkusDevModeTest.java | 1 + 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/integration-tests/logging-panache/pom.xml b/integration-tests/logging-panache/pom.xml index c37ecaffc2397..8dd1c543b970e 100644 --- a/integration-tests/logging-panache/pom.xml +++ b/integration-tests/logging-panache/pom.xml @@ -30,11 +30,6 @@ quarkus-jdbc-h2 test - - io.quarkus - quarkus-agroal-dev - test - io.quarkus quarkus-resteasy diff --git a/test-framework/junit5-internal/src/main/java/io/quarkus/test/QuarkusDevModeTest.java b/test-framework/junit5-internal/src/main/java/io/quarkus/test/QuarkusDevModeTest.java index d2718b04f55cf..f9b6014cd5004 100644 --- a/test-framework/junit5-internal/src/main/java/io/quarkus/test/QuarkusDevModeTest.java +++ b/test-framework/junit5-internal/src/main/java/io/quarkus/test/QuarkusDevModeTest.java @@ -442,6 +442,7 @@ private static ApplicationModel resolveOriginalAppModel() { try { return BootstrapAppModelFactory.newInstance() .setTest(true) + .setDevMode(true) .setProjectRoot(Path.of("").normalize().toAbsolutePath()) .resolveAppModel() .getApplicationModel();