devmadhuu commented on code in PR #6223:
URL: https://github.com/apache/ozone/pull/6223#discussion_r1542392018
##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/recon/TestReconTasks.java:
##########
@@ -219,9 +230,10 @@ public void testEmptyMissingContainerDownNode() throws
Exception {
ContainerManager scmContainerManager = scm.getContainerManager();
ReconContainerManager reconContainerManager =
(ReconContainerManager) reconScm.getContainerManager();
+ int previousContainerCount = reconContainerManager.getContainers().size();
ContainerInfo containerInfo =
scmContainerManager
- .allocateContainer(RatisReplicationConfig.getInstance(ONE),
"test");
+ .allocateContainer(RatisReplicationConfig.getInstance(ONE),
"testEmptyMissingContainer");
Review Comment:
Ok, this might be because of not meeting the criteria of sufficient healthy
nodes because default `minRatisVolumeSizeBytes` is 1 GB and
`containerSizeBytes` is 5GB. For test case it is okay then to use
`ReplicationFactor.ONE`
--
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]