nevzheng opened a new pull request, #14086: URL: https://github.com/apache/gravitino/pull/14086
### What changes were proposed in this pull request? - Readiness for Hive, Kerberos Hive, Doris, Trino, Ranger, StarRocks, OceanBase, RustFS, ClickHouse and Kafka moves from hand-written poll loops in `checkContainerStatus` to Testcontainers `WaitStrategy`s returned by `waitStrategy()`. - A small `ProbeWaitStrategy` runs a client check (JDBC `SELECT 1`, an API call, an HTTP probe) right away and then every second; services compose "port, then probe" with `WaitAllStrategy`. - Each timeout is the old port budget plus the old poll budget; the `[CONTAINER-TIMING]` line is unchanged, and readiness now counts in `containerMs`. - Kafka and Trino readiness talk to the services directly (a Kafka API request; Trino's HTTP API) instead of running their CLIs. ### Why are the changes needed? Nine services had nine poll loops with their own intervals, budgets and error styles, outside Testcontainers. One pattern is easier to review and extend, composes with the official modules in the next PR, and drops fixed sleeps such as Ranger's 3 s. This is a maintainability change; any speed gain is small. Fix: #14002 ### Does this PR introduce _any_ user-facing change? No. Test code only. ### How was this patch tested? Unit tests for the probe strategy; Ranger, StarRocks, OceanBase, ClickHouse, RustFS, Trino, Kafka, Hive and Doris ITs. -- 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]
