Skip to content

Commit

Permalink
Fix flaky test in range aggregation yaml test (opensearch-project#14486
Browse files Browse the repository at this point in the history
…) (opensearch-project#14534)

(cherry picked from commit 0d01d17)

Signed-off-by: bowenlan-amzn <[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>
Signed-off-by: kkewwei <[email protected]>
  • Loading branch information
2 people authored and kkewwei committed Jul 24, 2024
1 parent 308dc5d commit 7d3398f
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -678,6 +678,11 @@ setup:
- '{"index": {}}'
- '{"date": "2016-03-01"}'

- do:
indices.forcemerge:
index: test_2
max_num_segments: 1

- do:
search:
index: test_2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1101,6 +1101,12 @@ setup:
- '{"date": "2016-02-01"}'
- '{"index": {}}'
- '{"date": "2016-03-01"}'

- do:
indices.forcemerge:
index: test_2
max_num_segments: 1

- do:
search:
index: test_2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,11 @@ setup:
- '{"index": {}}'
- '{"date": "2020-03-09", "v": 4}'

- do:
indices.forcemerge:
index: test_profile
max_num_segments: 1

- do:
search:
index: test_profile
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,7 @@ setup:
body:
settings:
number_of_replicas: 0
number_of_shards: 1
refresh_interval: -1
mappings:
properties:
Expand All @@ -567,6 +568,11 @@ setup:
- '{"index": {}}'
- '{"double" : 50}'

- do:
indices.forcemerge:
index: test_profile
max_num_segments: 1

- do:
search:
index: test_profile
Expand Down

0 comments on commit 7d3398f

Please sign in to comment.