sodonnel commented on a change in pull request #2435:
URL: https://github.com/apache/ozone/pull/2435#discussion_r678118997
##########
File path:
hadoop-hdds/server-scm/src/test/java/org/apache/hadoop/hdds/scm/node/TestDeadNodeHandler.java
##########
@@ -212,6 +208,7 @@ public void testOnMessage() throws Exception {
// First set the node to IN_MAINTENANCE and ensure the container replicas
// are not removed on the dead event
+ datanode1 = nodeManager.getNodeByUuid(datanode1.getUuidString());
Review comment:
How does this change test this feature? I think we need a test (or
extend this test) to ensure the node is removed from the topology when the dead
handler is called and another test to ensure it is put back when the healthy
event is fired.
--
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]