gnodet opened a new pull request, #22974: URL: https://github.com/apache/camel/pull/22974
[CAMEL-23421](https://issues.apache.org/jira/browse/CAMEL-23421) Upgrades the Infinispan test container from 16.1 to 16.2 and fixes the flaky test issue that caused the previous 16.2 upgrade (PR #22316) to be reverted (PR #22954). ## Root Cause In `InfinispanLocalContainerInfraService`, the wait strategy for the common non-host, non-fixed-port mode was `Wait.forListeningPort()`, which only checks that the TCP port accepts connections. In Infinispan 16.2, the Hot Rod/REST endpoints are not fully ready when the port starts listening, causing `RejectedExecutionException` and `IllegalLifecycleStateException` in tests. ## Fix Replace `Wait.forListeningPort()` with an `HttpWaitStrategy` that polls the Infinispan REST health endpoint (`/rest/v2/cache-managers/default/health/status`), which: - Does not require authentication - Returns `HEALTHY` only when the server is fully ready to serve requests - Follows the same pattern used by other test-infra modules (FHIR, Minio, Solr) ## Changes - `container.properties`: bump image from `16.1` to `16.2` - `InfinispanLocalContainerInfraService`: use HTTP health check wait strategy instead of port listening -- 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]
