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 17:55:00 UTC

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

adoroszlai commented on code in PR #3456:
URL: https://github.com/apache/ozone/pull/3456#discussion_r881958634


##########
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:
   Can you please explain why sleep is needed?  What do we need to wait for?  Would it be possible to explicitly wait for that condition?
   
   https://github.com/apache/ozone/blob/5ed0e0a9b4c8355f4cde064cc605bc419dacd9c3/hadoop-hdds/test-utils/src/main/java/org/apache/ozone/test/GenericTestUtils.java#L192-L228



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