Skip to content

Commit 4da93c5

Browse files
authored
Fix grouping integ tests (#223)
Signed-off-by: David Zane <davizane@amazon.com>
1 parent d5f0cee commit 4da93c5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/test/java/org/opensearch/plugin/insights/core/service/grouper/MinMaxQueryGrouperByNoneIT.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ public class MinMaxQueryGrouperByNoneIT extends QueryInsightsRestTestCase {
2222
*/
2323
public void testGroupingByNone() throws IOException, InterruptedException {
2424

25-
waitForEmptyTopQueriesResponse();
26-
2725
updateClusterSettings(this::groupByNoneSettings);
2826

27+
waitForEmptyTopQueriesResponse();
28+
2929
// Search
3030
doSearch("range", 2);
3131
doSearch("match", 6);

src/test/java/org/opensearch/plugin/insights/core/service/grouper/MinMaxQueryGrouperBySimilarityIT.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ public class MinMaxQueryGrouperBySimilarityIT extends QueryInsightsRestTestCase
2525
*/
2626
public void testGroupingBySimilarity() throws IOException, InterruptedException {
2727

28-
waitForEmptyTopQueriesResponse();
29-
3028
updateClusterSettings(this::defaultTopQueryGroupingSettings);
3129

30+
waitForEmptyTopQueriesResponse();
31+
3232
// Search
3333
doSearch("range", 2);
3434
doSearch("match", 6);

0 commit comments

Comments
 (0)