[TEST] single alias APIs not supported before 0.90.1

This commit is contained in:
Clinton Gormley 2013-09-25 18:58:54 +02:00
parent 8e9a71341e
commit 7d6869e149
3 changed files with 15 additions and 5 deletions

View File

@ -1,9 +1,13 @@
---
"Basic test for delete alias":
- skip:
version: "0 - 0.90.0"
reason: "Delete alias not supported before 0.90.1"
- do:
indices.create:
index: testind
- do:
indices.put_alias:
index: testind
@ -14,7 +18,7 @@
- do:
indices.get_alias:
name: testali
- match: {testind.aliases.testali.search_routing: "routing value"}
- match: {testind.aliases.testali.index_routing: "routing value"}

View File

@ -1,9 +1,12 @@
---
"Basic test for aliases":
"Basic test for put alias":
- skip:
version: "0 - 0.90.0"
reason: "Put alias not supported before 0.90.1"
- do:
indices.create:
index: test_index
- do:
indices.exists_alias:
name: test_alias

View File

@ -1,9 +1,12 @@
---
"Basic test for aliases":
- skip:
version: "0 - 0.90.0"
reason: "Exists alias not supported before 0.90.1"
- do:
indices.create:
index: test_index
- do:
indices.exists_alias:
name: test_alias