You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2022/05/25 22:28:08 UTC

[GitHub] [ozone] neils-dev commented on a diff in pull request #3456: HDDS-6801. Intermittent failure in TestOzoneManagerHAWithData

neils-dev commented on code in PR #3456:
URL: https://github.com/apache/ozone/pull/3456#discussion_r882163369


##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestOzoneManagerHAWithData.java:
##########
@@ -109,6 +109,7 @@ public void testFileOperationsAndDelete() throws Exception {
     testFileOperationsWithRecursive();
     testFileOperationsWithNonRecursive();
     testKeysDelete();
+    Thread.sleep(1000);

Review Comment:
   @symious, another util you can use to check a condition between intervals until a timeout is the `LamdaTestUtils.await`:
   ie.  `LambdaTestUtils.await(WAIT_TIMEOUT_MILLIS, 1000, () -> {...}`



-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org