adoroszlai commented on code in PR #8060: URL: https://github.com/apache/ozone/pull/8060#discussion_r1992900595
########## hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/container/TestContainerReportHandlingWithHA.java: ########## @@ -113,23 +110,7 @@ void testDeletingOrDeletedContainerTransitionsToClosedWhenNonEmptyReplicaIsRepor // restart a DN and wait for the container to get CLOSED in all SCMs HddsDatanodeService dn = cluster.getHddsDatanode(keyLocation.getPipeline().getFirstNode()); cluster.restartHddsDatanode(dn.getDatanodeDetails(), false); - ContainerManager[] array = new ContainerManager[numSCM]; - for (int i = 0; i < numSCM; i++) { - array[i] = cluster.getStorageContainerManager(i).getContainerManager(); - } Review Comment: Previously the HA test checked container state in all 3 SCMs, but I guess it is enough to check only the leader, as the test does with the patch. -- 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: issues-unsubscr...@ozone.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org For additional commands, e-mail: issues-h...@ozone.apache.org