ashishkumar50 commented on code in PR #5293:
URL: https://github.com/apache/ozone/pull/5293#discussion_r1335408402
##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestDeleteWithInAdequateDN.java:
##########
@@ -296,14 +287,11 @@ public void testDeleteKeyWithSlowFollower() throws
Exception {
}
return
dnStateMachine.getCommandDispatcher()
- .getDeleteBlocksCommandHandler().getInvocationCount() >= 1;
+ .getDeleteBlocksCommandHandler().getInvocationCount() >= 0;
Review Comment:
This will always be true (>=0), GenericTestUtils.waitFor(() {..} is not
required. Command will not be invoked as one DN is down.
--
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]