From 92e127e90d464011913781b2037cce6f78d0fd83 Mon Sep 17 00:00:00 2001 From: Mark Vieira Date: Tue, 26 May 2020 10:54:11 -0700 Subject: [PATCH] Mute DateHistogramAggregatorTests.testAsSubAgg (cherry picked from commit 4d050a7a6438a7d102eeef9e03a7d79565bddab7) --- .../bucket/histogram/DateHistogramAggregatorTests.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/src/test/java/org/elasticsearch/search/aggregations/bucket/histogram/DateHistogramAggregatorTests.java b/server/src/test/java/org/elasticsearch/search/aggregations/bucket/histogram/DateHistogramAggregatorTests.java index 05cfab85bf748..a3eec90a8f252 100644 --- a/server/src/test/java/org/elasticsearch/search/aggregations/bucket/histogram/DateHistogramAggregatorTests.java +++ b/server/src/test/java/org/elasticsearch/search/aggregations/bucket/histogram/DateHistogramAggregatorTests.java @@ -171,6 +171,7 @@ public void testMatchAllDocs() throws IOException { ); } + @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/57168") public void testAsSubAgg() throws IOException { KeywordFieldMapper.KeywordFieldType k1ft = new KeywordFieldMapper.KeywordFieldType(); k1ft.setName("k1"); @@ -230,7 +231,7 @@ public void testAsSubAgg() throws IOException { assertThat(ak1adh.getBuckets().stream().map(bucket -> bucket.getKey().toString()).collect(toList()), equalTo(org.elasticsearch.common.collect.List.of("2020-01-01T00:00Z", "2021-01-01T00:00Z") )); - + StringTerms.Bucket b = terms.getBucketByKey("b"); StringTerms bk1 = b.getAggregations().get("k1"); StringTerms.Bucket bk1a = bk1.getBucketByKey("a");