sumitagrawl commented on code in PR #10462:
URL: https://github.com/apache/ozone/pull/10462#discussion_r3379981286
##########
hadoop-hdds/server-scm/src/test/java/org/apache/hadoop/hdds/scm/safemode/AbstractContainerSafeModeRuleTest.java:
##########
@@ -98,7 +100,7 @@ public void testRefreshInitializeContainers() {
containers.add(mockContainer(LifeCycleState.OPEN, 3L));
containers.add(mockContainer(LifeCycleState.CLOSED, 4L));
containers.removeIf(c -> c.containerID().equals(ContainerID.valueOf(8L)));
- containers.add(mockContainer(LifeCycleState.DELETED, 8L));
Review Comment:
Test will fail, as now, we are quering based on deleted state during
refresh. without adding here container list will not reduce
--
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]