jihoonson commented on a change in pull request #8999: Fix flaky realtime index 
task tests
URL: https://github.com/apache/incubator-druid/pull/8999#discussion_r356354896
 
 

 ##########
 File path: 
integration-tests/src/test/java/org/apache/druid/tests/indexer/AbstractITRealtimeIndexTaskTest.java
 ##########
 @@ -88,25 +89,30 @@ void doTest()
       // the task will run for 3 minutes and then shutdown itself
       String task = setShutOffTime(
           getResourceAsString(getTaskResource()),
-          DateTimes.utc(System.currentTimeMillis() + 
TimeUnit.MINUTES.toMillis(3))
+          DateTimes.utc(System.currentTimeMillis() + 
TimeUnit.MINUTES.toMillis(10))
       );
       task = StringUtils.replace(task, "%%DATASOURCE%%", fullDatasourceName);
 
       LOG.info("indexerSpec: [%s]\n", task);
       String taskID = indexer.submitTask(task);
 
-
       // sleep for a while to let peons finish starting up
-      TimeUnit.SECONDS.sleep(5);
+      TimeUnit.SECONDS.sleep(60);
 
 Review comment:
   We don't have any way to check whether the task is ready to consume data or 
not for now. 5 seconds was too short and I think 1 min of waiting isn't that 
harm in a sense that our tests usually runs for 30 mins.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org
For additional commands, e-mail: commits-h...@druid.apache.org

Reply via email to