You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by fj...@apache.org on 2019/03/12 03:25:34 UTC
[incubator-druid] branch master updated: Fix
ITRealtimeIndexTaskTest Flakiness (#7232)
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 <jb...@edu.uwaterloo.ca>
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: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org