diff options
Diffstat (limited to 'rest-api-spec/test/indices.exists')
-rw-r--r-- | rest-api-spec/test/indices.exists/10_basic.yaml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/rest-api-spec/test/indices.exists/10_basic.yaml b/rest-api-spec/test/indices.exists/10_basic.yaml new file mode 100644 index 0000000..e8bbb80 --- /dev/null +++ b/rest-api-spec/test/indices.exists/10_basic.yaml @@ -0,0 +1,25 @@ +--- +"Test indices.exists": + - do: + indices.exists: + index: test_index + + - is_false: '' + + - do: + indices.create: + index: test_index + + - do: + indices.exists: + index: test_index + + - is_true: '' +--- +"Test indices.exists with local flag": + - do: + indices.exists: + index: test_index + local: true + + - is_false: '' |