tmielke opened a new pull request, #24247: URL: https://github.com/apache/camel/pull/24247
CAMEL-19549: Replace Thread.sleep() with proper synchronization in camel-core tests Replaced or removed 17 Thread.sleep() calls across 15 test files to improve test reliability and reduce flakiness: - Replaced with Awaitility for async completion waiting (5 files) - Replaced with CountDownLatch for thread coordination (4 files) - Removed unnecessary sleeps where operations are synchronous (6 files) This eliminates race conditions from fixed timeouts and saves a few seconds of test execution time. Tests with legitimate timing-based behavior were kept unchanged. All unit tests pass. Made with help from AI tools. -- 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]
