adoroszlai commented on code in PR #4534:
URL: https://github.com/apache/ozone/pull/4534#discussion_r1157387009
##########
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:
```
hadoop-ozone/recon/src/test/java/org/apache/hadoop/ozone/recon/api/TestContainerStateCounts.java
406: Line is longer than 80 characters (found 84).
```
--
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]