mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
Fix unchecked warning in RollupIndexerIndexingTests#testSimpleDateHistoWithOverlappingDelay
This commit is contained in:
parent
ffefc66260
commit
0449869511
@ -332,7 +332,7 @@ public class RollupIndexerIndexingTests extends AggregatorTestCase {
|
|||||||
String rollupIndex = randomAlphaOfLengthBetween(5, 10);
|
String rollupIndex = randomAlphaOfLengthBetween(5, 10);
|
||||||
String field = "the_histo";
|
String field = "the_histo";
|
||||||
DateHistogramGroupConfig dateHistoConfig =
|
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());
|
RollupJobConfig job = createJob(rollupIndex, new GroupConfig(dateHistoConfig), Collections.emptyList());
|
||||||
final List<Map<String, Object>> dataset = new ArrayList<>();
|
final List<Map<String, Object>> dataset = new ArrayList<>();
|
||||||
long now = asLong("2015-04-01T10:30:00.000Z");
|
long now = asLong("2015-04-01T10:30:00.000Z");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user