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 1bc0787cf7f HDDS-17037. Intermittent failure in
TestReconAndAdminContainerCLI init with Rocks Database is closed (#11548)
1bc0787cf7f is described below
commit 1bc0787cf7f500f3ac538d7fcc880fc00179ac2d
Author: Siyao Meng <[email protected]>
AuthorDate: Fri Oct 16 15:47:12 2026 -0700
HDDS-17037. Intermittent failure in TestReconAndAdminContainerCLI init with
Rocks Database is closed (#11548)
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
---
.../hadoop/ozone/recon/TestReconAndAdminContainerCLI.java | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git
a/hadoop-ozone/integration-test-recon/src/test/java/org/apache/hadoop/ozone/recon/TestReconAndAdminContainerCLI.java
b/hadoop-ozone/integration-test-recon/src/test/java/org/apache/hadoop/ozone/recon/TestReconAndAdminContainerCLI.java
index 714703a5da6..7df8abc61a2 100644
---
a/hadoop-ozone/integration-test-recon/src/test/java/org/apache/hadoop/ozone/recon/TestReconAndAdminContainerCLI.java
+++
b/hadoop-ozone/integration-test-recon/src/test/java/org/apache/hadoop/ozone/recon/TestReconAndAdminContainerCLI.java
@@ -419,14 +419,8 @@ private static long setupRatisKey(ReconService
reconService, String keyName,
// Verify Recon picked up the new keys and
// updated its container key mappings.
- GenericTestUtils.waitFor(() -> {
- try {
- return reconContainerMetadataManager
- .getKeyCountForContainer(containerID) > 0;
- } catch (IOException e) {
- throw new RuntimeException(e);
- }
- }, 1000, 20000);
+
ReconOmMetaManagerTestUtils.waitUntilReconKeyCounts(reconContainerMetadataManager,
+ Collections.singletonMap(containerID, 1));
return containerID;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]