raju-balpande commented on code in PR #6621:
URL: https://github.com/apache/ozone/pull/6621#discussion_r1587515888


##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestOzoneManagerHAWithStoppedNodes.java:
##########
@@ -474,7 +474,7 @@ void testIncrementalWaitTimeWithSameNodeFailover() throws 
Exception {
     String leaderOMNodeId = omFailoverProxyProvider.getCurrentProxyOMNodeId();
 
     getCluster().stopOzoneManager(leaderOMNodeId);
-    Thread.sleep(NODE_FAILURE_TIMEOUT * 4);
+    getCluster().waitForLeaderOM();
     createKeyTest(true); // failover should happen to new node

Review Comment:
   Oh, I wrongly specified the initial check which I made on master branch... 
We can refer to following.
   https://github.com/raju-balpande/apache_ozone/actions/runs/8921923082 .. 
correcting it in description as well.



-- 
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]

Reply via email to