Skip to content

Commit

Permalink
Re-add POST search shards test (#784)
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Farr <[email protected]>
  • Loading branch information
Xtansia authored Jan 13, 2025
1 parent 9efddb9 commit 1df309f
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 1df309f

Please sign in to comment.