OpenSearch/rest-api-spec/test/cluster.put_settings/10_basic.yaml

22 lines
481 B
YAML

---
setup:
- skip:
version: 0 - 999
reason: leaves transient metadata behind, need to fix it
---
"Test put settings":
- do:
cluster.put_settings:
body:
transient:
discovery.zen.minimum_master_nodes: 1
flat_settings: true
- match: {transient: {discovery.zen.minimum_master_nodes: "1"}}
- do:
cluster.get_settings:
flat_settings: true
- match: {transient: {discovery.zen.minimum_master_nodes: "1"}}