Skip to content

Commit

Permalink
Fix grouping integ tests (opensearch-project#223)
Browse files Browse the repository at this point in the history
Signed-off-by: David Zane <[email protected]>
  • Loading branch information
dzane17 authored Jan 29, 2025
1 parent d5f0cee commit 4da93c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4da93c5

Please sign in to comment.