mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-08 14:05:27 +00:00
59ca459b1c
before trying to close the index
28 lines
391 B
YAML
28 lines
391 B
YAML
---
|
|
"Basic test for index open/close":
|
|
- do:
|
|
indices.create:
|
|
index: test_index
|
|
|
|
- do:
|
|
cluster.health:
|
|
wait_for_status: yellow
|
|
|
|
- do:
|
|
indices.close:
|
|
index: test_index
|
|
|
|
- do:
|
|
catch: forbidden
|
|
search:
|
|
index: test_index
|
|
|
|
- do:
|
|
indices.open:
|
|
index: test_index
|
|
|
|
- do:
|
|
search:
|
|
index: test_index
|
|
|