ArafatKhan2198 commented on code in PR #4534:
URL: https://github.com/apache/ozone/pull/4534#discussion_r1157392736
##########
hadoop-ozone/recon/src/test/java/org/apache/hadoop/ozone/recon/api/TestContainerStateCounts.java:
##########
@@ -387,4 +397,20 @@ public void testDeletedContainerCount() throws Exception {
Assertions.assertEquals(3, clusterStateResponse1.getOpenContainers());
}
+ private void waitAndCheckConditionAfterHeartbeat(Callable<Boolean> check)
+ throws Exception {
+ // if container report is processed first, and pipeline does not exist
+ // then container is not added until the next container report is processed
+ StorageContainerDatanodeProtocolProtos.SCMHeartbeatRequestProto
+ heartbeatRequestProto =
+
StorageContainerDatanodeProtocolProtos.SCMHeartbeatRequestProto.newBuilder()
Review Comment:
Thanks for pointing it out. For some reason the `./checkStyle` script in dev
tools did not find it out. But I have changed it
--
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]