gnodet opened a new pull request, #22875: URL: https://github.com/apache/camel/pull/22875
[CAMEL-23220](https://issues.apache.org/jira/browse/CAMEL-23220) Replace `Thread.sleep()` calls with proper asynchronous assertions in three camel-atom idempotency test files, per project coding standards. ## Changes - **AtomGoodBlogDefaultIdempotencyTest**: Replaced `Thread.sleep(5000)` + `expectedMessageCount` + `assertIsSatisfied` with Awaitility `await().atMost(10, SECONDS).untilAsserted(...)` - **AtomGoodBlogsRepositoryItempotencyTest**: Removed redundant `Thread.sleep(3000)` before `assertIsSatisfied`; increased `assertIsSatisfied` timeout to 10s (it polls internally) - **AtomGoodBlogsRepositoryItempotencyCustomRepositoryTest**: Same fix as above ## Test plan - [x] `mvn test -B -pl components/camel-atom` — all 33 tests pass - [x] `mvn formatter:format impsort:sort -B -pl components/camel-atom` — no formatting changes needed -- 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]
