Skip to content

Commit

Permalink
Fix flaky test case - string profiler via global ordinals
Browse files Browse the repository at this point in the history
forcemerge to one segment before executing aggregation query.

Signed-off-by: Peng Huo <penghuo@gmail.com>
  • Loading branch information
penghuo committed Feb 23, 2022
1 parent 2eae5d1 commit 0794002
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -830,6 +830,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 0794002

Please sign in to comment.