gnodet commented on PR #25148: URL: https://github.com/apache/camel/pull/25148#issuecomment-5090164495
@apupier Thank you for running the tests locally — that's really helpful since CI doesn't exercise the EventBridge IT tests. The failures you reported (`mock://result Received message count. Expected: <1> but was: <0>`) point to a **service readiness issue**: the container health check passes before the EventBridge service is fully initialized, so the first `putRule` calls fail silently (exchange exception not checked by the tests → mock never receives a message). I've pushed a fix that adds an **Awaitility-based readiness check** in the `@BeforeEach` method. Before cleaning up rules and running the test, it now polls `listRules` for up to 30 seconds (with 2-second intervals) until the EventBridge service actually accepts requests. This ensures the service is ready before any test operation. Could you try running the tests again with this latest commit? The combination of readiness check + cleanup should address both the service initialization flakiness and the shared-state interference. -- 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]
