This is an automated email from the ASF dual-hosted git repository.

jamesnetherton pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git


The following commit(s) were added to refs/heads/main by this push:
     new 76f0b0eb97 Fix potential master-file race with cluster data deletion 
and lock acquisition on Windows
76f0b0eb97 is described below

commit 76f0b0eb97a805ea8f1ef1dd47f4116489f5d4e9
Author: James Netherton <[email protected]>
AuthorDate: Wed Jan 14 10:04:03 2026 +0000

    Fix potential master-file race with cluster data deletion and lock 
acquisition on Windows
---
 .../apache/camel/quarkus/component/master/it/MasterFileTest.java    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/integration-tests/master-file/src/test/java/org/apache/camel/quarkus/component/master/it/MasterFileTest.java
 
b/integration-tests/master-file/src/test/java/org/apache/camel/quarkus/component/master/it/MasterFileTest.java
index bb7437a7f0..9864aa6483 100644
--- 
a/integration-tests/master-file/src/test/java/org/apache/camel/quarkus/component/master/it/MasterFileTest.java
+++ 
b/integration-tests/master-file/src/test/java/org/apache/camel/quarkus/component/master/it/MasterFileTest.java
@@ -29,7 +29,7 @@ import io.restassured.RestAssured;
 import org.apache.camel.quarkus.test.support.process.QuarkusProcessExecutor;
 import org.apache.commons.io.FileUtils;
 import org.awaitility.Awaitility;
-import org.junit.jupiter.api.BeforeAll;
+import org.junit.jupiter.api.AfterEach;
 import org.junit.jupiter.api.Test;
 import org.zeroturnaround.exec.StartedProcess;
 
@@ -39,8 +39,8 @@ import static org.hamcrest.Matchers.emptyString;
 @QuarkusTest
 class MasterFileTest {
 
-    @BeforeAll
-    public static void deleteClusterFiles() throws IOException {
+    @AfterEach
+    public void deleteClusterFiles() throws IOException {
         FileUtils.deleteDirectory(Paths.get("target/cluster/").toFile());
     }
 

Reply via email to