Aurélien Pupier created CAMEL-25488:
---------------------------------------
Summary: Fix flaky JGroupRafts tests
Key: CAMEL-25488
URL: https://issues.apache.org/jira/browse/CAMEL-25488
Project: Camel
Issue Type: Test
Components: camel-jgroups
Affects Versions: 4.23.0
Reporter: Aurélien Pupier
[25 failures in last 90 days on 3 test
classes|https://develocity.apache.org/scans/tests?search.relativeStartTime=P90D&search.timeZoneId=Europe%2FParis&tests.container=org.apache.camel.component.jgroups.raft.*]
{noformat}
org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression
in org.apache.camel.component.jgroups.raft.JGroupsRaftAbstractTest was not
fulfilled within 30 seconds.
at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
at
org.awaitility.core.CallableCondition.await(CallableCondition.java:78)
at
org.awaitility.core.CallableCondition.await(CallableCondition.java:26)
at
org.awaitility.core.ConditionFactory.until(ConditionFactory.java:1160)
at
org.awaitility.core.ConditionFactory.until(ConditionFactory.java:1129)
at
org.apache.camel.component.jgroups.raft.JGroupsRaftAbstractTest.waitForLeader(JGroupsRaftAbstractTest.java:48)
at
org.apache.camel.component.jgroups.raft.JGroupsRaftProducerTest.shouldSendBody(JGroupsRaftProducerTest.java:54)
{noformat}
{noformat}
org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression
in
org.apache.camel.component.jgroups.raft.cluster.JGroupsRaftClusterAbstractTest
was not fulfilled within 50 seconds.
at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
at
org.awaitility.core.CallableCondition.await(CallableCondition.java:78)
at
org.awaitility.core.CallableCondition.await(CallableCondition.java:26)
at
org.awaitility.core.ConditionFactory.until(ConditionFactory.java:1160)
at
org.awaitility.core.ConditionFactory.until(ConditionFactory.java:1129)
at
org.apache.camel.component.jgroups.raft.cluster.JGroupsRaftClusterAbstractTest.waitForLeader(JGroupsRaftClusterAbstractTest.java:37)
at
org.apache.camel.component.jgroups.raft.cluster.JGroupsRaftClusteredRoutePolicyTest.test(JGroupsRaftClusteredRoutePolicyTest.java:68)
{noformat}
{noformat}
org.awaitility.core.ConditionTimeoutException: Condition with Lambda
expression in
org.apache.camel.component.jgroups.raft.cluster.JGroupsRaftClusterAbstractTest
was not fulfilled within 50 seconds.
at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
at
org.awaitility.core.CallableCondition.await(CallableCondition.java:78)
at
org.awaitility.core.CallableCondition.await(CallableCondition.java:26)
at
org.awaitility.core.ConditionFactory.until(ConditionFactory.java:1160)
at
org.awaitility.core.ConditionFactory.until(ConditionFactory.java:1129)
at
org.apache.camel.component.jgroups.raft.cluster.JGroupsRaftClusterAbstractTest.waitForLeader(JGroupsRaftClusterAbstractTest.java:37)
at
org.apache.camel.component.jgroups.raft.cluster.JGroupsRaftMasterTest.test(JGroupsRaftMasterTest.java:70){noformat}
Note that the frequency of failures seems to have increased since the beginning
of October
--
This message was sent by Atlassian Jira
(v8.20.10#820010)