This is an automated email from the ASF dual-hosted git repository.

fjy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-druid.git


The following commit(s) were added to refs/heads/master by this push:
     new 0df8ee3  Fix ITRealtimeIndexTaskTest Flakiness (#7232)
0df8ee3 is described below

commit 0df8ee3f7984b08478e665ac1167663c561a8562
Author: Justin Borromeo <[email protected]>
AuthorDate: Mon Mar 11 20:25:24 2019 -0700

    Fix ITRealtimeIndexTaskTest Flakiness (#7232)
    
    * Testing sleep change before posting events
    
    * Added comment
---
 .../apache/druid/tests/indexer/AbstractITRealtimeIndexTaskTest.java   | 4 ++++
 1 file changed, 4 insertions(+)

diff --git 
a/integration-tests/src/test/java/org/apache/druid/tests/indexer/AbstractITRealtimeIndexTaskTest.java
 
b/integration-tests/src/test/java/org/apache/druid/tests/indexer/AbstractITRealtimeIndexTaskTest.java
index cdf61de..7d97dc7 100644
--- 
a/integration-tests/src/test/java/org/apache/druid/tests/indexer/AbstractITRealtimeIndexTaskTest.java
+++ 
b/integration-tests/src/test/java/org/apache/druid/tests/indexer/AbstractITRealtimeIndexTaskTest.java
@@ -97,6 +97,10 @@ public abstract class AbstractITRealtimeIndexTaskTest 
extends AbstractIndexerTes
       LOG.info("indexerSpec: [%s]\n", task);
       taskID = indexer.submitTask(task);
 
+
+      // sleep for a while to let peons finish starting up
+      TimeUnit.SECONDS.sleep(5);
+
       // this posts 22 events, one every 4 seconds
       // each event contains the current time as its timestamp except
       //   the timestamp for the 14th event is early enough that the event 
should be ignored


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to