From 0449869511dc75c399a3e60a581ae3d93cf77b74 Mon Sep 17 00:00:00 2001 From: jimczi Date: Tue, 21 May 2019 12:28:57 +0200 Subject: [PATCH] Fix unchecked warning in RollupIndexerIndexingTests#testSimpleDateHistoWithOverlappingDelay --- .../xpack/rollup/job/RollupIndexerIndexingTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/job/RollupIndexerIndexingTests.java b/x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/job/RollupIndexerIndexingTests.java index f2797413c80..1641ac6b7f7 100644 --- a/x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/job/RollupIndexerIndexingTests.java +++ b/x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/job/RollupIndexerIndexingTests.java @@ -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> dataset = new ArrayList<>(); long now = asLong("2015-04-01T10:30:00.000Z");