mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-30 10:23:41 -04:00
45 lines
704 B
YAML
45 lines
704 B
YAML
---
|
|
"Test indices.exists_alias":
|
|
- do:
|
|
indices.exists_alias:
|
|
name: test_alias
|
|
|
|
- is_false: ''
|
|
|
|
- do:
|
|
indices.create:
|
|
index: test_index
|
|
|
|
- do:
|
|
indices.put_alias:
|
|
index: test_index
|
|
name: test_alias
|
|
|
|
- do:
|
|
indices.exists_alias:
|
|
name: test_alias
|
|
|
|
- is_true: ''
|
|
|
|
- do:
|
|
indices.exists_alias:
|
|
index: test_index
|
|
name: test_alias
|
|
|
|
- is_true: ''
|
|
|
|
- do:
|
|
indices.exists_alias:
|
|
index: test_index1
|
|
name: test_alias
|
|
|
|
- is_false: ''
|
|
|
|
---
|
|
"Test indices.exists_alias with local flag":
|
|
- do:
|
|
indices.exists_alias:
|
|
name: test_alias
|
|
local: true
|
|
|
|
- is_false: ''
|