sodonnel commented on code in PR #3881:
URL: https://github.com/apache/ozone/pull/3881#discussion_r1005886771


##########
hadoop-hdds/server-scm/src/test/java/org/apache/hadoop/hdds/scm/container/replication/health/TestEmptyContainerHandler.java:
##########
@@ -63,9 +63,18 @@ public void setup()
         HddsProtos.ReplicationFactor.THREE);
     replicationManager = Mockito.mock(ReplicationManager.class);
     containerManager = Mockito.mock(ContainerManager.class);
+    
+    Mockito.doAnswer(invocation -> {

Review Comment:
   Do we need this part? If we remove the ContainerManager dependency, then we 
don't really need to have it in this test class anymore and we can just verify 
the ReplicationManager.updateContainerState is called and leave it there.



-- 
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]

Reply via email to