Skip to content

Commit

Permalink
Fix grouping integ tests (opensearch-project#223) (opensearch-project…
Browse files Browse the repository at this point in the history
…#224)

(cherry picked from commit 4da93c5)

Signed-off-by: David Zane <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 74c51d2 commit 481180e
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 481180e

Please sign in to comment.