Skip to content

Commit

Permalink
Mute DateHistogramAggregatorTests.testAsSubAgg
Browse files Browse the repository at this point in the history
(cherry picked from commit 4d050a7)
  • Loading branch information
mark-vieira committed May 26, 2020
1 parent 920677a commit 92e127e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down Expand Up @@ -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");
Expand Down

0 comments on commit 92e127e

Please sign in to comment.