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 dafb99a8d48 Run dev mode tests in a separate JVM per test class
dafb99a8d48 is described below
commit dafb99a8d4885268bed23036cb4b153030248618
Author: Gaƫlle Fournier <[email protected]>
AuthorDate: Wed Nov 4 08:05:38 2026 +0100
Run dev mode tests in a separate JVM per test class
The continuous testing shared state is static and leaks between test classes
running in the same JVM, so QuarkusDevModeTest waits for a run of the
previous
application. Fork a JVM per test class until quarkusio/quarkus#58083 is
fixed.
Co-authored-by: Claude Code <[email protected]>
---
test-framework/camel-quarkus-junit-tests/pom.xml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/test-framework/camel-quarkus-junit-tests/pom.xml
b/test-framework/camel-quarkus-junit-tests/pom.xml
index 6b8fe180650..5081387ad81 100644
--- a/test-framework/camel-quarkus-junit-tests/pom.xml
+++ b/test-framework/camel-quarkus-junit-tests/pom.xml
@@ -69,6 +69,16 @@
<build>
<plugins>
+ <plugin>
+ <!-- Continuous testing state leaks between the dev mode tests
sharing a JVM
+ https://github.com/apache/camel-quarkus/issues/9429
+ https://github.com/quarkusio/quarkus/issues/58083 -->
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <reuseForks>false</reuseForks>
+ </configuration>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>