mirror of
https://github.com/apache/druid.git
synced 2025-02-10 03:55:02 +00:00
Fix ITRealtimeIndexTaskTest Flakiness (#7232)
* Testing sleep change before posting events * Added comment
This commit is contained in:
parent
5e7cbe39fa
commit
0df8ee3f79
@ -97,6 +97,10 @@ public abstract class AbstractITRealtimeIndexTaskTest extends AbstractIndexerTes
|
|||||||
LOG.info("indexerSpec: [%s]\n", task);
|
LOG.info("indexerSpec: [%s]\n", task);
|
||||||
taskID = indexer.submitTask(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
|
// this posts 22 events, one every 4 seconds
|
||||||
// each event contains the current time as its timestamp except
|
// 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
|
// the timestamp for the 14th event is early enough that the event should be ignored
|
||||||
|
Loading…
x
Reference in New Issue
Block a user