You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "jojochuang (via GitHub)" <gi...@apache.org> on 2026/07/10 22:23:00 UTC

[PR] HDDS-15827. Wait for SCM pipelines in TestDnRatisLogParser [ozone]

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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org


Re: [PR] HDDS-15827. Wait for SCM pipelines in TestDnRatisLogParser [ozone]

Posted by "smengcl (via GitHub)" <gi...@apache.org>.
smengcl commented on PR #10725:
URL: https://github.com/apache/ozone/pull/10725#issuecomment-4940770213

   Thanks @jojochuang for the fix.


-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org


Re: [PR] HDDS-15827. Wait for SCM pipelines in TestDnRatisLogParser [ozone]

Posted by "smengcl (via GitHub)" <gi...@apache.org>.
smengcl merged PR #10725:
URL: https://github.com/apache/ozone/pull/10725


-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org