raju-balpande commented on code in PR #6223:
URL: https://github.com/apache/ozone/pull/6223#discussion_r1521252161
##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/recon/TestReconTasks.java:
##########
@@ -74,21 +80,22 @@ public void init() throws Exception {
conf.set("ozone.scm.stale.node.interval", "6s");
conf.set("ozone.scm.dead.node.interval", "8s");
- cluster = MiniOzoneCluster.newBuilder(conf).setNumDatanodes(1)
+ cluster = MiniOzoneCluster.newBuilder(conf).setNumDatanodes(3)
Review Comment:
Hi @devmadhuu ,
It was getting stuck on wait condition at TestReconTasks.java:173
` LambdaTestUtils.await(120000, 6000, () -> {
List<UnhealthyContainers> allMissingContainers =
reconContainerManager.getContainerSchemaManager()
.getUnhealthyContainers(
ContainerSchemaDefinition.UnHealthyContainerStates.MISSING,
0, 1000);
return (allMissingContainers.size() == 1);
});`
As I see in log
https://github.com/raju-balpande/apache_ozone/actions/runs/7916623862/job/21611614999
`Error: Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
365.519 s <<< FAILURE! - in org.apache.hadoop.ozone.recon.TestReconTasks
Error:
org.apache.hadoop.ozone.recon.TestReconTasks.testMissingContainerDownNode Time
elapsed: 300.006 s <<< ERROR!
java.util.concurrent.TimeoutException: testMissingContainerDownNode() timed
out after 300 seconds
at java.util.ArrayList.forEach(ArrayList.java:1259)
at java.util.ArrayList.forEach(ArrayList.java:1259)
Suppressed: java.lang.InterruptedException: sleep interrupted
at java.lang.Thread.sleep(Native Method)
at
org.apache.ozone.test.LambdaTestUtils.await(LambdaTestUtils.java:133)
at
org.apache.ozone.test.LambdaTestUtils.await(LambdaTestUtils.java:180)
at
org.apache.hadoop.ozone.recon.TestReconTasks.testMissingContainerDownNode(TestReconTasks.java:173)
at java.lang.reflect.Method.invoke(Method.java:498)`
--
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]