mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-27 10:28:28 +00:00
Tests for indices.exists
This commit is contained in:
parent
817f24798a
commit
5e93ee6104
18
rest-api-spec/test/indices.exists/10_basic.yaml
Normal file
18
rest-api-spec/test/indices.exists/10_basic.yaml
Normal file
@ -0,0 +1,18 @@
|
||||
---
|
||||
"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: ''
|
||||
|
Loading…
x
Reference in New Issue
Block a user