Aurélien Pupier created CAMEL-25220:
---------------------------------------
Summary: Fix flaky test
SpringQuartzConsumerTwoAppsClusteredRecoveryTest
Key: CAMEL-25220
URL: https://issues.apache.org/jira/browse/CAMEL-25220
Project: Camel
Issue Type: Test
Components: camel-quartz
Affects Versions: 4.23.0
Reporter: Aurélien Pupier
[2 flaky and 1 failure in last 90
days|https://develocity.apache.org/scans/tests?search.relativeStartTime=P90D&search.rootProjectNames=camel&search.timeZoneId=Europe%2FParis&tests.container=*SpringQuartzConsumerTwoAppsClusteredRecoveryTest]
{noformat}
org.awaitility.core.ConditionTimeoutException: Assertion condition defined as a
Lambda expression in
org.apache.camel.component.quartz.SpringQuartzConsumerTwoAppsClusteredRecoveryTest
mock://result Received message count 0, expected at least 2 within 10 seconds.
at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
at
org.awaitility.core.AssertionCondition.await(AssertionCondition.java:119)
at
org.awaitility.core.AssertionCondition.await(AssertionCondition.java:31)
at
org.awaitility.core.ConditionFactory.until(ConditionFactory.java:1160)
at
org.awaitility.core.ConditionFactory.untilAsserted(ConditionFactory.java:790)
at
org.apache.camel.component.quartz.SpringQuartzConsumerTwoAppsClusteredRecoveryTest.testQuartzPersistentStoreClusteredApp(SpringQuartzConsumerTwoAppsClusteredRecoveryTest.java:66)
Caused by: java.lang.AssertionError: mock://result Received message count 0,
expected at least 2
at
org.apache.camel.component.mock.MockEndpoint.fail(MockEndpoint.java:2075)
at
org.apache.camel.component.mock.MockEndpoint.assertTrue(MockEndpoint.java:2046)
at
org.apache.camel.component.mock.MockEndpoint.doAssertIsSatisfied(MockEndpoint.java:510)
at
org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:476)
at
org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:466)
at
org.apache.camel.component.quartz.SpringQuartzConsumerTwoAppsClusteredRecoveryTest.lambda$testQuartzPersistentStoreClusteredApp$0(SpringQuartzConsumerTwoAppsClusteredRecoveryTest.java:73)
{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)