This is an automated email from the ASF dual-hosted git repository.

adoroszlai 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 509c5f54dc4 HDDS-11645. Intermittent timeout in 
TestReconScmSnapshot#testExplicitRemovalOfNode (#9414)
509c5f54dc4 is described below

commit 509c5f54dc473c6fa1c1906ef049caabde20e052
Author: Devesh Kumar Singh <[email protected]>
AuthorDate: Wed Dec 3 16:12:30 2025 +0530

    HDDS-11645. Intermittent timeout in 
TestReconScmSnapshot#testExplicitRemovalOfNode (#9414)
---
 .../java/org/apache/hadoop/ozone/recon/TestReconScmSnapshot.java | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git 
a/hadoop-ozone/integration-test-recon/src/test/java/org/apache/hadoop/ozone/recon/TestReconScmSnapshot.java
 
b/hadoop-ozone/integration-test-recon/src/test/java/org/apache/hadoop/ozone/recon/TestReconScmSnapshot.java
index 2084af458d2..9414d92f141 100644
--- 
a/hadoop-ozone/integration-test-recon/src/test/java/org/apache/hadoop/ozone/recon/TestReconScmSnapshot.java
+++ 
b/hadoop-ozone/integration-test-recon/src/test/java/org/apache/hadoop/ozone/recon/TestReconScmSnapshot.java
@@ -36,7 +36,6 @@
 import org.apache.hadoop.ozone.recon.scm.ReconStorageContainerManagerFacade;
 import org.apache.ozone.test.GenericTestUtils;
 import org.apache.ozone.test.GenericTestUtils.LogCapturer;
-import org.apache.ozone.test.tag.Flaky;
 import org.junit.jupiter.api.AfterEach;
 import org.junit.jupiter.api.BeforeEach;
 import org.junit.jupiter.api.Test;
@@ -52,8 +51,9 @@ public class TestReconScmSnapshot {
   @BeforeEach
   public void setup() throws Exception {
     conf = new OzoneConfiguration();
-    conf.set("ozone.scm.stale.node.interval", "6s");
-    conf.set("ozone.scm.dead.node.interval", "8s");
+    conf.set("ozone.scm.heartbeat.thread.interval", "1s");
+    conf.set("ozone.scm.stale.node.interval", "3s");
+    conf.set("ozone.scm.dead.node.interval", "5s");
     conf.setBoolean(
         ReconServerConfigKeys.OZONE_RECON_SCM_SNAPSHOT_ENABLED, true);
     conf.setInt(ReconServerConfigKeys.OZONE_RECON_SCM_CONTAINER_THRESHOLD, 0);
@@ -120,7 +120,6 @@ public void testScmSnapshot() throws Exception {
   }
 
   @Test
-  @Flaky("HDDS-11645")
   public void testExplicitRemovalOfNode() throws Exception {
     ReconNodeManager nodeManager = (ReconNodeManager) recon.getReconServer()
         .getReconStorageContainerManager().getScmNodeManager();
@@ -138,7 +137,7 @@ public void testExplicitRemovalOfNode() throws Exception {
         fail("getNodeStatus() Failed for " + datanodeDetails, e);
         throw new RuntimeException(e);
       }
-    }, 2000, 10000);
+    }, 2000, 13000);
 
     // Even after one node is DEAD, node manager is still keep tracking the 
DEAD node.
     long nodeDBCountAfter = nodeManager.getNodeDBKeyCount();


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to