gnodet commented on PR #23180: URL: https://github.com/apache/camel/pull/23180#issuecomment-4439111633
Thanks for the review! You're right — the `pollDelay` was placed before the condition check, but the original `Thread.sleep` was after the queue-empty check. Fixed in ef247030d5b8: now using two-step await: 1. First `await().until(queue.isEmpty())` — checks the condition 2. Second `await().pollDelay(1s).untilAsserted(...)` — gives the consumer thread time to idle after the queue empties _Claude Code on behalf of Guillaume Nodet_ -- 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]
