From a38359ab9dd10ab8a39d4ca5242b88c66e7c6d87 Mon Sep 17 00:00:00 2001 From: bowenlan-amzn Date: Mon, 15 Apr 2024 08:04:14 -0700 Subject: [PATCH] make sure test hits the code --- .../opensearch/search/aggregations/bucket/FilterRewriteIT.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/server/src/internalClusterTest/java/org/opensearch/search/aggregations/bucket/FilterRewriteIT.java b/server/src/internalClusterTest/java/org/opensearch/search/aggregations/bucket/FilterRewriteIT.java index e7fba4b9f1322..207804c19b6e3 100644 --- a/server/src/internalClusterTest/java/org/opensearch/search/aggregations/bucket/FilterRewriteIT.java +++ b/server/src/internalClusterTest/java/org/opensearch/search/aggregations/bucket/FilterRewriteIT.java @@ -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(); @@ -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();