Skip to content

Commit

Permalink
Revert "Add more yaml tests for get alias API (#29513)"
Browse files Browse the repository at this point in the history
This reverts commit ad43231.
  • Loading branch information
ywelsch committed May 23, 2018
1 parent c14c88a commit f0a2ccf
Showing 1 changed file with 0 additions and 38 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,52 +20,14 @@ setup:
---
"Get all aliases via /_alias":

- do:
indices.create:
index: test_index_3

- do:
indices.get_alias: {}

- match: {test_index.aliases.test_alias: {}}
- match: {test_index.aliases.test_blias: {}}
- match: {test_index_2.aliases.test_alias: {}}
- match: {test_index_2.aliases.test_blias: {}}
- match: {test_index_3.aliases: {}}

---
"Get aliases via /_alias/_all":

- do:
indices.create:
index: test_index_3

- do:
indices.get_alias:
name: _all

- match: {test_index.aliases.test_alias: {}}
- match: {test_index.aliases.test_blias: {}}
- match: {test_index_2.aliases.test_alias: {}}
- match: {test_index_2.aliases.test_blias: {}}
- is_false: test_index_3

---
"Get aliases via /_alias/*":

- do:
indices.create:
index: test_index_3

- do:
indices.get_alias:
name: _all

- match: {test_index.aliases.test_alias: {}}
- match: {test_index.aliases.test_blias: {}}
- match: {test_index_2.aliases.test_alias: {}}
- match: {test_index_2.aliases.test_blias: {}}
- is_false: test_index_3

---
"Get all aliases via /{index}/_alias/":
Expand Down

0 comments on commit f0a2ccf

Please sign in to comment.