yihua commented on code in PR #6270:
URL: https://github.com/apache/hudi/pull/6270#discussion_r970184514


##########
hudi-utilities/src/test/java/org/apache/hudi/utilities/sources/BaseTestKafkaSource.java:
##########
@@ -261,7 +261,7 @@ public void testFailOnDataLoss() throws Exception {
     assertEquals(2, fetch1.getBatch().get().count());
 
     // wait for the checkpoint to expire
-    Thread.sleep(10001);
+    Thread.sleep(30000);

Review Comment:
   Given that the sleep time is reduced inside the `KafkaOffsetGen`, I need to 
adjust the wait time in this functional test case to make sure it does not 
fail.  Note that this does not increase the overall test running time 
(originally the test takes 43s; now it takes 33s, even increasing the sleep 
time here).



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

Reply via email to