From e3b150c73b237f827aebd771657c540850e67a34 Mon Sep 17 00:00:00 2001 From: fanshilun Date: Mon, 25 Nov 2024 19:08:04 +0800 Subject: [PATCH] HDDS-11243. Remove DataNodeSafeModeRule Code. --- .../apache/hadoop/hdds/scm/safemode/TestSCMSafeModeManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hadoop-hdds/server-scm/src/test/java/org/apache/hadoop/hdds/scm/safemode/TestSCMSafeModeManager.java b/hadoop-hdds/server-scm/src/test/java/org/apache/hadoop/hdds/scm/safemode/TestSCMSafeModeManager.java index e53ad89414a..92c46feb8fd 100644 --- a/hadoop-hdds/server-scm/src/test/java/org/apache/hadoop/hdds/scm/safemode/TestSCMSafeModeManager.java +++ b/hadoop-hdds/server-scm/src/test/java/org/apache/hadoop/hdds/scm/safemode/TestSCMSafeModeManager.java @@ -770,6 +770,7 @@ public void testPipelinesNotCreatedUntilPreCheckPasses() throws Exception { SCMDatanodeProtocolServer.NodeRegistrationContainerReport nodeRegistrationContainerReport = HddsTestUtils.createNodeRegistrationContainerReport(containers); queue.fireEvent(SCMEvents.CONTAINER_REGISTRATION_REPORT, nodeRegistrationContainerReport); + queue.fireEvent(SCMEvents.NODE_REGISTRATION_CONT_REPORT, nodeRegistrationContainerReport); assertTrue(scmSafeModeManager.getInSafeMode()); assertFalse(scmSafeModeManager.getPreCheckComplete()); }