diff --git a/tests/default/indices/index.yaml b/tests/default/indices/index.yaml index d30186c8a..5446c4735 100644 --- a/tests/default/indices/index.yaml +++ b/tests/default/indices/index.yaml @@ -84,5 +84,4 @@ chapters: version: '>= 2.0' parameters: index: books,games - cluster_manager_timeout: 10s - + cluster_manager_timeout: 10s diff --git a/tests/default/indices/resolve.yaml b/tests/default/indices/resolve.yaml new file mode 100644 index 000000000..7c0fb45ce --- /dev/null +++ b/tests/default/indices/resolve.yaml @@ -0,0 +1,20 @@ +$schema: ../../../json_schemas/test_story.schema.yaml + +description: Tests to see if the specified index exits using the `_resolve` endpoint. +prologues: + - path: /movies + method: PUT +epilogues: + - path: /movies + method: DELETE + status: [200, 404] + +chapters: + - synopsis: See if index `movies` exists. It should. + path: /_resolve/index/{name} + method: GET + parameters: + name: movies + expand_wildcards: none + response: + status: 200 \ No newline at end of file