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 aa36c38ebf Ensure master-infinispan follower node has a unique cluster
service id
aa36c38ebf is described below
commit aa36c38ebf4124f815aa869846d7a9956bf9113d
Author: James Netherton <[email protected]>
AuthorDate: Fri Aug 14 15:27:28 2026 +0100
Ensure master-infinispan follower node has a unique cluster service id
Fixes #8899
---
.../quarkus/component/master/it/InfinispanClusterServiceTest.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git
a/integration-tests/master-infinispan/src/test/java/org/apache/camel/quarkus/component/master/it/InfinispanClusterServiceTest.java
b/integration-tests/master-infinispan/src/test/java/org/apache/camel/quarkus/component/master/it/InfinispanClusterServiceTest.java
index 4a654b14ba..1f5c0fdbbc 100644
---
a/integration-tests/master-infinispan/src/test/java/org/apache/camel/quarkus/component/master/it/InfinispanClusterServiceTest.java
+++
b/integration-tests/master-infinispan/src/test/java/org/apache/camel/quarkus/component/master/it/InfinispanClusterServiceTest.java
@@ -66,6 +66,10 @@ class InfinispanClusterServiceTest {
}
}
+ // Use a distinct cluster service ID so the follower is not mistaken
for the
+ // leader recovering from a crash by InfinispanRemoteClusterView's
lock logic
+ jvmArgs.add("-Dquarkus.camel.cluster.infinispan.id=follower");
+
// Start secondary application process
QuarkusProcessExecutor quarkusProcessExecutor = new
QuarkusProcessExecutor(jvmArgs.toArray(String[]::new));
StartedProcess process = quarkusProcessExecutor.start();