Guillaume Nodet created CAMEL-23919:
---------------------------------------
Summary: Fix flaky HL7MLLPCodecMessageFloodingTest in camel-hl7
Key: CAMEL-23919
URL: https://issues.apache.org/jira/browse/CAMEL-23919
Project: Camel
Issue Type: Improvement
Components: camel-hl7
Reporter: Guillaume Nodet
The HL7MLLPCodecMessageFloodingTest in camel-hl7 uses Thread.sleep(10) in 3
places for timing synchronization (extremely tight timeout), making it prone to
flakiness.
These Thread.sleep calls should be replaced with Awaitility-based assertions.
Affected file:
components/camel-hl7/src/test/java/org/apache/camel/component/hl7/HL7MLLPCodecMessageFloodingTest.java
--
This message was sent by Atlassian Jira
(v8.20.10#820010)