From ff11475ca492e2c28f1e35f5c15f026e6ecf7c25 Mon Sep 17 00:00:00 2001 From: Guillaume Smet Date: Fri, 16 Aug 2024 12:09:30 +0200 Subject: [PATCH] Do not try to create temp directory in test archives When dealing with test archives, such as in the Platform, we shouldn't try to create a temp directory in the archive. Related to the failure described here: https://github.com/quarkusio/quarkus-platform/pull/1255#issuecomment-2288766644 --- .../test/junit/AbstractJvmQuarkusTestExtension.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/test-framework/junit5/src/main/java/io/quarkus/test/junit/AbstractJvmQuarkusTestExtension.java b/test-framework/junit5/src/main/java/io/quarkus/test/junit/AbstractJvmQuarkusTestExtension.java index 9254f46e1d271..ec8e3cb970ada 100644 --- a/test-framework/junit5/src/main/java/io/quarkus/test/junit/AbstractJvmQuarkusTestExtension.java +++ b/test-framework/junit5/src/main/java/io/quarkus/test/junit/AbstractJvmQuarkusTestExtension.java @@ -176,7 +176,15 @@ protected PrepareResult createAugmentor(ExtensionContext context, Class