From 9e1983509c15315d436125a7da876f8d373ee337 Mon Sep 17 00:00:00 2001 From: Jose Date: Fri, 9 Dec 2022 13:15:09 +0100 Subject: [PATCH] Remove QuarkusTestExtension.class from @QuarkusIntegrationTest Without this fix, if an integration test fails it results in the application being restarted Relates to: https://github.com/quarkusio/quarkus/issues/23612 --- .../main/java/io/quarkus/test/junit/QuarkusIntegrationTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-framework/junit5/src/main/java/io/quarkus/test/junit/QuarkusIntegrationTest.java b/test-framework/junit5/src/main/java/io/quarkus/test/junit/QuarkusIntegrationTest.java index c63013d4a910f..bb0cf06ecffcd 100644 --- a/test-framework/junit5/src/main/java/io/quarkus/test/junit/QuarkusIntegrationTest.java +++ b/test-framework/junit5/src/main/java/io/quarkus/test/junit/QuarkusIntegrationTest.java @@ -30,7 +30,7 @@ * {@link @QuarkusTest} so the test class structure must take this into account. */ @Target(ElementType.TYPE) -@ExtendWith({ DisabledOnIntegrationTestCondition.class, QuarkusTestExtension.class, QuarkusIntegrationTestExtension.class }) +@ExtendWith({ DisabledOnIntegrationTestCondition.class, QuarkusIntegrationTestExtension.class }) @Retention(RetentionPolicy.RUNTIME) public @interface QuarkusIntegrationTest {