diff --git a/test-framework/junit5/src/main/java/io/quarkus/test/junit/QuarkusTestExtension.java b/test-framework/junit5/src/main/java/io/quarkus/test/junit/QuarkusTestExtension.java index 5f004f57ea155..3d527f9248569 100644 --- a/test-framework/junit5/src/main/java/io/quarkus/test/junit/QuarkusTestExtension.java +++ b/test-framework/junit5/src/main/java/io/quarkus/test/junit/QuarkusTestExtension.java @@ -249,8 +249,8 @@ static class ExtensionState implements ExtensionContext.Store.CloseableResource @Override public void close() throws Throwable { - testResourceManager.stop(); resource.close(); + testResourceManager.stop(); } public boolean isSubstrate() {