jojochuang opened a new pull request, #10725: URL: https://github.com/apache/ozone/pull/10725
## Summary - Wait for SCM to report at least one pipeline before `TestDnRatisLogParser` reads `getPipelines().get(0)`. - Avoids intermittent `IndexOutOfBoundsException: Index 0 out of bounds for length 0` when pipeline creation lags behind `waitForClusterToBeReady()`. ## Jira https://issues.apache.org/jira/browse/HDDS-15827 ## Problem `testRatisLogParsing` uses a single-datanode mini-cluster and immediately indexes the first SCM pipeline. In CI, the pipeline list can still be empty when the test runs, even though the cluster is marked ready. ## Test plan - [x] checkstyle on `ozone-integration-test` module - [ ] `mvn -pl :ozone-integration-test test -Dtest=TestDnRatisLogParser -DskipShade -DskipRecon -DskipDocs` Made with [Cursor](https://cursor.com) -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
