From 998f63302e968691f528217b25d0b02ee7040f0b Mon Sep 17 00:00:00 2001 From: Thomas Farr Date: Mon, 13 Jan 2025 10:15:07 +1300 Subject: [PATCH] Re-add POST search shards test Signed-off-by: Thomas Farr --- tests/default/_core/search_shards.yaml | 6 ++++++ tests/default/indices/search_shards.yaml | 8 ++++++++ 2 files changed, 14 insertions(+) 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