Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Commit

Permalink
Fix flaky test case - string profiler via global ordinals (opensearch…
Browse files Browse the repository at this point in the history
…-project#2226)

forcemerge to one segment before executing aggregation query.

Signed-off-by: Peng Huo <penghuo@gmail.com>
  • Loading branch information
penghuo authored Mar 2, 2022
1 parent c8a7606 commit 9e225dc
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -820,6 +820,10 @@ setup:
{ "str": "cow", "number": 1 }
{ "index": {} }
{ "str": "pig", "number": 1 }
- do:
indices.forcemerge:
index: test_1
max_num_segments: 1

- do:
search:
Expand Down

0 comments on commit 9e225dc

Please sign in to comment.