Karen Lease created CAMEL-17297:
-----------------------------------
Summary: DurationRoutePolicy tests often fail on first run
Key: CAMEL-17297
URL: https://issues.apache.org/jira/browse/CAMEL-17297
Project: Camel
Issue Type: Sub-task
Components: tests
Affects Versions: 3.13.0
Reporter: Karen Lease
DurationRoutePolicyMaxSecondsTest and DurationRoutePolicyFactoryTest frequently
don't receive as many messages as expected. In fact, there is a 1 second delay
in the timer before any messages are sent, so if the timer thread is not
started immediately, the timeout occurs before it has time to send the expected
number of messages.
Setting a delay of 100 on the timer reduces the risk of failure.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)