Guillaume Nodet created CAMEL-23918:
---------------------------------------
Summary: Fix flaky tests in camel-reactive-streams
Key: CAMEL-23918
URL: https://issues.apache.org/jira/browse/CAMEL-23918
Project: Camel
Issue Type: Improvement
Components: camel-reactive-streams
Reporter: Guillaume Nodet
Multiple test classes in camel-reactive-streams use Thread.sleep for timing
synchronization, making them prone to flakiness:
- DelayedMonoPublisherTest (5x Thread.sleep(100,200))
- BackpressureStrategyTest (6x Thread.sleep(200,1000))
- BackpressureSubscriberTest (3x Thread.sleep(50,100,300))
- BackpressurePublisherRoutePolicyTest (2x Thread.sleep(250))
- BasicPublisherTest (Thread.sleep(60))
All Thread.sleep calls should be replaced with Awaitility-based assertions per
project guidelines.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)