diff --git a/tests/default/_core/search_shards.yaml b/tests/default/_core/search_shards.yaml index a592208aa..15298764f 100644 --- a/tests/default/_core/search_shards.yaml +++ b/tests/default/_core/search_shards.yaml @@ -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 \ No newline at end of file diff --git a/tests/default/indices/search_shards.yaml b/tests/default/indices/search_shards.yaml index 01472073a..c79c38db8 100644 --- a/tests/default/indices/search_shards.yaml +++ b/tests/default/indices/search_shards.yaml @@ -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 \ No newline at end of file