Skip to content

Commit

Permalink
make sure test hits the code
Browse files Browse the repository at this point in the history
  • Loading branch information
bowenlan-amzn committed Apr 15, 2024
1 parent 9377717 commit a38359a
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ public void testMinDocCountOnDateHistogram() throws Exception {
public void testDisableOptimizationGivesSameResults() throws Exception {
SearchResponse response = client().prepareSearch("idx")
.setSize(0)
.setQuery(QUERY)
.addAggregation(dateHistogram("histo").field("date").calendarInterval(DateHistogramInterval.DAY).minDocCount(0))
.get();

Expand All @@ -125,7 +124,6 @@ public void testDisableOptimizationGivesSameResults() throws Exception {

response = client().prepareSearch("idx")
.setSize(0)
.setQuery(QUERY)
.addAggregation(dateHistogram("histo").field("date").calendarInterval(DateHistogramInterval.DAY).minDocCount(0))
.get();

Expand Down

0 comments on commit a38359a

Please sign in to comment.