mirror of https://github.com/apache/druid.git
Fix the flakiness in getLockedIntervals test (#12172)
Fix the flakiness in getLockedIntervals test
This commit is contained in:
parent
5794331eb1
commit
575874705f
|
@ -360,7 +360,10 @@ public class ITIndexerTest extends AbstractITBatchIndexTest
|
|||
Collections.singletonList(Intervals.of("2013-08-31/2013-09-02"))
|
||||
);
|
||||
|
||||
waitForAllTasksToCompleteForDataSource(datasourceName);
|
||||
ITRetryUtil.retryUntilTrue(
|
||||
() -> coordinator.areSegmentsLoaded(datasourceName),
|
||||
"Segment Load"
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue