Skip to content

Commit

Permalink
Re-add POST search shards test
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Farr <tsfarr@amazon.com>
  • Loading branch information
Xtansia committed Jan 12, 2025
1 parent 9efddb9 commit 998f633
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/default/_core/search_shards.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,11 @@ chapters:
- synopsis: Verify the distribution of shards for the index.
path: /_search_shards
method: GET
response:
status: 200

- synopsis: Check routing behavior based on search criteria.
path: /_search_shards
method: POST
response:
status: 200
8 changes: 8 additions & 0 deletions tests/default/indices/search_shards.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,13 @@ chapters:
parameters:
index: movies
method: GET
response:
status: 200

- synopsis: Check routing behavior based on search criteria.
path: /{index}/_search_shards
parameters:
index: movies
method: POST
response:
status: 200

0 comments on commit 998f633

Please sign in to comment.