35 lines
693 B
YAML
Raw Normal View History

2013-07-20 20:32:44 +02:00
---
"Basic test for delete alias":
- skip:
version: "0 - 0.90.0"
reason: "Delete alias not supported before 0.90.1"
2013-07-20 20:32:44 +02:00
- do:
indices.create:
index: testind
2013-07-20 20:32:44 +02:00
- do:
indices.put_alias:
index: testind
name: testali
body:
routing: "routing value"
- do:
indices.get_alias:
name: testali
2013-07-20 20:32:44 +02:00
- match: {testind.aliases.testali.search_routing: "routing value"}
- match: {testind.aliases.testali.index_routing: "routing value"}
- do:
indices.delete_alias:
index: testind
name: testali
- do:
catch: missing
indices.get_alias:
index: testind
name: testali