gnodet opened a new pull request, #24446:
URL: https://github.com/apache/camel/pull/24446

   ## Summary
   
   - Replace the fixed-timeout `latch.await(20, TimeUnit.SECONDS)` + 
`assertTrue(success)` pattern with Awaitility `await().atMost(60, 
TimeUnit.SECONDS).untilAsserted()` which polls until the condition is met 
rather than blocking for a fixed duration
   - This prevents flakiness on slow CI machines where 100 messages with 50ms 
processing delay each can exceed the original 20-second timeout
   - Removed commented-out `Thread.sleep(10)` dead code (3 occurrences)
   
   ## Test plan
   
   - [x] Ran `HL7MLLPCodecMessageFloodingTest` locally — passes
   - [ ] CI build passes
   
   _Claude Code on behalf of Guillaume Nodet_
   
   Co-Authored-By: Claude Opus 4.6 <[email protected]>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to