Aurélien Pupier created CAMEL-24903:
---------------------------------------
Summary: Fix flaky test
ThrottlingExceptionRoutePolicyOpenViaConfigTest
Key: CAMEL-24903
URL: https://issues.apache.org/jira/browse/CAMEL-24903
Project: Camel
Issue Type: Test
Components: camel-core
Affects Versions: 4.23.0
Reporter: Aurélien Pupier
previosu attempt here [CAMEL-24035] which has nto changed the frequency at
which it is flaky.
7 times ffailing in last 90 days
58 times only flaky
https://develocity.apache.org/scans/tests?search.relativeStartTime=P90D&search.rootProjectNames=camel&search.timeZoneId=Europe%2FParis&tests.container=*ThrottlingExceptionRoutePolicyOpenViaConfigTest
{noformat}
java.lang.AssertionError: mock://result Received message count. Expected: <6>
but was: <5>
at
org.apache.camel.component.mock.MockEndpoint.fail(MockEndpoint.java:2075)
at
org.apache.camel.component.mock.MockEndpoint.assertEquals(MockEndpoint.java:2010)
at
org.apache.camel.component.mock.MockEndpoint.doAssertIsSatisfied(MockEndpoint.java:498)
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.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:289)
at
org.apache.camel.processor.throttle.ThrottlingExceptionRoutePolicyOpenViaConfigTest.testThrottlingRoutePolicyStartWithAlwaysOpenOffThenToggle(ThrottlingExceptionRoutePolicyOpenViaConfigTest.java:90)
{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)