Guillaume Nodet created CAMEL-23916:
---------------------------------------
Summary: Fix flaky SamplingThrottlerTest in camel-core
Key: CAMEL-23916
URL: https://issues.apache.org/jira/browse/CAMEL-23916
Project: Camel
Issue Type: Improvement
Components: camel-core
Reporter: Guillaume Nodet
The SamplingThrottlerTest in camel-core uses Thread.sleep(100) and
Thread.sleep(1100) for timing synchronization, combined with
setResultWaitTime(100) which is extremely tight. This makes the test prone to
flakiness on slow CI machines.
These Thread.sleep calls and setResultWaitTime usage should be replaced with
Awaitility-based assertions per project guidelines.
Affected file:
core/camel-core/src/test/java/org/apache/camel/processor/SamplingThrottlerTest.java
--
This message was sent by Atlassian Jira
(v8.20.10#820010)