This is an automated email from the ASF dual-hosted git repository.
smengcl pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/master by this push:
new 4575cf9f3f4 HDDS-15827. Wait for SCM pipelines in TestDnRatisLogParser
(#10725)
4575cf9f3f4 is described below
commit 4575cf9f3f4baaf803ac55734ee2fa2fb1a36830
Author: Wei-Chiu Chuang <[email protected]>
AuthorDate: Fri Jul 10 17:32:23 2026 -0700
HDDS-15827. Wait for SCM pipelines in TestDnRatisLogParser (#10725)
Co-authored-by: Cursor <[email protected]>
---
.../java/org/apache/hadoop/ozone/dn/ratis/TestDnRatisLogParser.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/dn/ratis/TestDnRatisLogParser.java
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/dn/ratis/TestDnRatisLogParser.java
index d57c03f92fc..825bc6eaca7 100644
---
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/dn/ratis/TestDnRatisLogParser.java
+++
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/dn/ratis/TestDnRatisLogParser.java
@@ -70,6 +70,10 @@ public void testRatisLogParsing() throws Exception {
OzoneConfiguration conf = cluster.getHddsDatanodes().get(0).getConf();
String path =
conf.get(OzoneConfigKeys.HDDS_CONTAINER_RATIS_DATANODE_STORAGE_DIR);
+ GenericTestUtils.waitFor(
+ () -> !cluster.getStorageContainerManager().getPipelineManager()
+ .getPipelines().isEmpty(),
+ 100, 60000);
UUID pid = cluster.getStorageContainerManager().getPipelineManager()
.getPipelines().get(0).getId().getId();
File pipelineDir = new File(path, pid.toString());
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]