slfan1989 commented on code in PR #7008:
URL: https://github.com/apache/ozone/pull/7008#discussion_r1857965125
##########
hadoop-hdds/server-scm/src/test/java/org/apache/hadoop/hdds/scm/safemode/TestSCMSafeModeManager.java:
##########
@@ -314,6 +321,16 @@ public void
testSafeModeExitRuleWithPipelineAvailabilityCheck(
List<Pipeline> pipelines = pipelineManager.getPipelines();
+ for (Pipeline pipeline : pipelines) {
+ List<DatanodeDetails> nodes = pipeline.getNodes();
+ for (DatanodeDetails node : nodes) {
+ SCMDatanodeProtocolServer.NodeRegistrationContainerReport
nodeRegistrationContainerReport =
+ new
SCMDatanodeProtocolServer.NodeRegistrationContainerReport(node, null);
+ queue.fireEvent(SCMEvents.NODE_REGISTRATION_CONT_REPORT,
+ nodeRegistrationContainerReport);
+ }
+ }
+
Review Comment:
Thank you for your suggestion! I have removed this part of the code.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]