bharatviswa504 commented on a change in pull request #1579:
URL: https://github.com/apache/ozone/pull/1579#discussion_r547547915



##########
File path: 
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestOzoneManagerHAMetadataOnly.java
##########
@@ -406,6 +406,7 @@ public void testOMRetryCache() throws Exception {
     Assert.assertTrue(logCapturer.getOutput().contains("created volume:"
         + volumeName));
 
+    Thread.sleep(100L);

Review comment:
       Sorry I gave the wrong Jira reference.
   The issue is fixed by below commit.
   
https://github.com/apache/ozone/commit/46690430d7c093b9859592057fbaab569ea570cc
   
   This is fixed by HDDS-4329, and the link provided run is Oct 31st, and 
HDDS-4329 got committed Dec 8th, 2020.
   
   Check is changed as below in the test.
   
   ```
    // If 2nd time executed, it will fail with Volume creation failed. check
       // for that.
       Assert.assertFalse(logCapturer.getOutput().contains(
           "Volume creation failed"));
   ```
   




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

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