Basic tests for get/set cluster settings

This commit is contained in:
Honza Kral 2013-07-18 16:46:41 +02:00
parent fc4d50ca29
commit ac40b3a996
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
---
"Test put settings":
- do:
cluster.put_settings:
body:
transient:
discovery.zen.minimum_master_nodes: 1
- match: {transient: {discovery.zen.minimum_master_nodes: "1"}}
- do:
cluster.get_settings: {}
- match: {transient: {discovery.zen.minimum_master_nodes: "1"}}