From 68484e04a6e41a5d87f7d0c70f590984b99d432a Mon Sep 17 00:00:00 2001 From: David Zane Date: Tue, 28 Jan 2025 19:42:34 -0800 Subject: [PATCH] Fix grouping integ tests Signed-off-by: David Zane --- .../core/service/grouper/MinMaxQueryGrouperByNoneIT.java | 4 ++-- .../service/grouper/MinMaxQueryGrouperBySimilarityIT.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/java/org/opensearch/plugin/insights/core/service/grouper/MinMaxQueryGrouperByNoneIT.java b/src/test/java/org/opensearch/plugin/insights/core/service/grouper/MinMaxQueryGrouperByNoneIT.java index 6fd20831..a3f70c6c 100644 --- a/src/test/java/org/opensearch/plugin/insights/core/service/grouper/MinMaxQueryGrouperByNoneIT.java +++ b/src/test/java/org/opensearch/plugin/insights/core/service/grouper/MinMaxQueryGrouperByNoneIT.java @@ -22,10 +22,10 @@ public class MinMaxQueryGrouperByNoneIT extends QueryInsightsRestTestCase { */ public void testGroupingByNone() throws IOException, InterruptedException { - waitForEmptyTopQueriesResponse(); - updateClusterSettings(this::groupByNoneSettings); + waitForEmptyTopQueriesResponse(); + // Search doSearch("range", 2); doSearch("match", 6); diff --git a/src/test/java/org/opensearch/plugin/insights/core/service/grouper/MinMaxQueryGrouperBySimilarityIT.java b/src/test/java/org/opensearch/plugin/insights/core/service/grouper/MinMaxQueryGrouperBySimilarityIT.java index 069ea431..0fba332a 100644 --- a/src/test/java/org/opensearch/plugin/insights/core/service/grouper/MinMaxQueryGrouperBySimilarityIT.java +++ b/src/test/java/org/opensearch/plugin/insights/core/service/grouper/MinMaxQueryGrouperBySimilarityIT.java @@ -25,10 +25,10 @@ public class MinMaxQueryGrouperBySimilarityIT extends QueryInsightsRestTestCase */ public void testGroupingBySimilarity() throws IOException, InterruptedException { - waitForEmptyTopQueriesResponse(); - updateClusterSettings(this::defaultTopQueryGroupingSettings); + waitForEmptyTopQueriesResponse(); + // Search doSearch("range", 2); doSearch("match", 6);