[TESTS] Fixed YAML in put_templates test
This commit is contained in:
parent
9f502b0129
commit
f4c0c3dae6
|
@ -25,17 +25,17 @@
|
|||
template: test-*
|
||||
aliases:
|
||||
test_alias: {}
|
||||
test_blias: {routing: b}
|
||||
test_clias: {filter: {term :{user : kimchy}}}
|
||||
test_blias: { routing: b }
|
||||
test_clias: { filter: { term: { user: kimchy }}}
|
||||
|
||||
- do:
|
||||
indices.get_template:
|
||||
name: test
|
||||
|
||||
- match: {test.template: "test-*"}
|
||||
- length: {test.aliases: 3}
|
||||
- match: { test.template: "test-*" }
|
||||
- length: { test.aliases: 3 }
|
||||
- is_true: test.aliases.test_alias
|
||||
- match: {test.aliases.test_blias.index_routing: "b"}
|
||||
- match: {test.aliases.test_blias.search_routing: "b"}
|
||||
- match: {test.aliases.test_clias.filter.term.user: "kimchy"}
|
||||
- match: { test.aliases.test_blias.index_routing: "b" }
|
||||
- match: { test.aliases.test_blias.search_routing: "b" }
|
||||
- match: { test.aliases.test_clias.filter.term.user: "kimchy" }
|
||||
|
||||
|
|
Loading…
Reference in New Issue