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