Fix unchecked warning in RollupIndexerIndexingTests#testSimpleDateHistoWithOverlappingDelay

This commit is contained in:
jimczi 2019-05-21 12:28:57 +02:00
parent ffefc66260
commit 0449869511
1 changed files with 1 additions and 1 deletions

View File

@ -332,7 +332,7 @@ public class RollupIndexerIndexingTests extends AggregatorTestCase {
String rollupIndex = randomAlphaOfLengthBetween(5, 10);
String field = "the_histo";
DateHistogramGroupConfig dateHistoConfig =
new DateHistogramGroupConfig(field, new DateHistogramInterval("1h"), new DateHistogramInterval("15m"), null);
new FixedInterval(field, new DateHistogramInterval("1h"), new DateHistogramInterval("15m"), null);
RollupJobConfig job = createJob(rollupIndex, new GroupConfig(dateHistoConfig), Collections.emptyList());
final List<Map<String, Object>> dataset = new ArrayList<>();
long now = asLong("2015-04-01T10:30:00.000Z");