Guillaume Nodet created CAMEL-23925:
---------------------------------------

             Summary: Fix flaky backpressure tests in camel-reactor and 
camel-rxjava
                 Key: CAMEL-23925
                 URL: https://issues.apache.org/jira/browse/CAMEL-23925
             Project: Camel
          Issue Type: Improvement
            Reporter: Guillaume Nodet


The backpressure tests in camel-reactor and camel-rxjava use Thread.sleep for 
timing synchronization:

- ReactorStreamsServiceBackpressureTest (4x Thread.sleep(200,1000))
- RxJavaStreamsServiceBackpressureTest (4x Thread.sleep(200,1000))
- ReactorStreamsServiceTest (Thread.sleep(60))
- RxJavaStreamsServiceTest (Thread.sleep(60))

These tests mirror the camel-reactive-streams tests. All Thread.sleep calls 
should be replaced with Awaitility-based assertions.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to