You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Karen Lease (Jira)" <ji...@apache.org> on 2021/12/07 22:22:00 UTC
[jira] [Created] (CAMEL-17297) DurationRoutePolicy tests often fail on first run
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)