[TEST] Fixed whitespace in cluster.state/20_filtering.yaml
This commit is contained in:
parent
2b80c752df
commit
c900ec2152
|
@ -13,8 +13,8 @@ setup:
|
||||||
"Filtering the cluster state by blocks should return the blocks field even if the response is empty":
|
"Filtering the cluster state by blocks should return the blocks field even if the response is empty":
|
||||||
- do:
|
- do:
|
||||||
cluster.state:
|
cluster.state:
|
||||||
metric: [ blocks ]
|
metric: [ blocks ]
|
||||||
|
|
||||||
- is_true: blocks
|
- is_true: blocks
|
||||||
- is_false: nodes
|
- is_false: nodes
|
||||||
- is_false: metadata
|
- is_false: metadata
|
||||||
|
@ -34,7 +34,7 @@ setup:
|
||||||
index.blocks.read_only: true
|
index.blocks.read_only: true
|
||||||
- do:
|
- do:
|
||||||
cluster.state:
|
cluster.state:
|
||||||
metric: [ blocks ]
|
metric: [ blocks ]
|
||||||
|
|
||||||
- is_true: blocks
|
- is_true: blocks
|
||||||
- is_false: nodes
|
- is_false: nodes
|
||||||
|
@ -48,8 +48,8 @@ setup:
|
||||||
"Filtering the cluster state by nodes only should work":
|
"Filtering the cluster state by nodes only should work":
|
||||||
- do:
|
- do:
|
||||||
cluster.state:
|
cluster.state:
|
||||||
metric: [ nodes ]
|
metric: [ nodes ]
|
||||||
|
|
||||||
- is_false: blocks
|
- is_false: blocks
|
||||||
- is_true: nodes
|
- is_true: nodes
|
||||||
- is_false: metadata
|
- is_false: metadata
|
||||||
|
@ -61,8 +61,8 @@ setup:
|
||||||
"Filtering the cluster state by metadata only should work":
|
"Filtering the cluster state by metadata only should work":
|
||||||
- do:
|
- do:
|
||||||
cluster.state:
|
cluster.state:
|
||||||
metric: [ metadata ]
|
metric: [ metadata ]
|
||||||
|
|
||||||
- is_false: blocks
|
- is_false: blocks
|
||||||
- is_false: nodes
|
- is_false: nodes
|
||||||
- is_true: metadata
|
- is_true: metadata
|
||||||
|
@ -75,8 +75,8 @@ setup:
|
||||||
"Filtering the cluster state by routing table only should work":
|
"Filtering the cluster state by routing table only should work":
|
||||||
- do:
|
- do:
|
||||||
cluster.state:
|
cluster.state:
|
||||||
metric: [ routing_table ]
|
metric: [ routing_table ]
|
||||||
|
|
||||||
- is_false: blocks
|
- is_false: blocks
|
||||||
- is_false: nodes
|
- is_false: nodes
|
||||||
- is_false: metadata
|
- is_false: metadata
|
||||||
|
@ -94,7 +94,7 @@ setup:
|
||||||
template: test-*
|
template: test-*
|
||||||
settings:
|
settings:
|
||||||
number_of_shards: 1
|
number_of_shards: 1
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
indices.put_template:
|
indices.put_template:
|
||||||
name: test2
|
name: test2
|
||||||
|
@ -114,7 +114,7 @@ setup:
|
||||||
cluster.state:
|
cluster.state:
|
||||||
metric: [ metadata ]
|
metric: [ metadata ]
|
||||||
index_templates: [ test1, test2 ]
|
index_templates: [ test1, test2 ]
|
||||||
|
|
||||||
- is_false: blocks
|
- is_false: blocks
|
||||||
- is_false: nodes
|
- is_false: nodes
|
||||||
- is_true: metadata
|
- is_true: metadata
|
||||||
|
@ -134,7 +134,7 @@ setup:
|
||||||
id: testing_document
|
id: testing_document
|
||||||
body:
|
body:
|
||||||
"text" : "The quick brown fox is brown."
|
"text" : "The quick brown fox is brown."
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
indices.refresh: {}
|
indices.refresh: {}
|
||||||
|
|
||||||
|
@ -142,7 +142,7 @@ setup:
|
||||||
cluster.state:
|
cluster.state:
|
||||||
metric: [ routing_table, metadata ]
|
metric: [ routing_table, metadata ]
|
||||||
index: [ testidx ]
|
index: [ testidx ]
|
||||||
|
|
||||||
- is_false: metadata.indices.another
|
- is_false: metadata.indices.another
|
||||||
- is_false: routing_table.indices.another
|
- is_false: routing_table.indices.another
|
||||||
- is_true: metadata.indices.testidx
|
- is_true: metadata.indices.testidx
|
||||||
|
@ -152,9 +152,9 @@ setup:
|
||||||
"Filtering the cluster state using _all for indices and metrics should work":
|
"Filtering the cluster state using _all for indices and metrics should work":
|
||||||
- do:
|
- do:
|
||||||
cluster.state:
|
cluster.state:
|
||||||
metric: [ '_all' ]
|
metric: [ '_all' ]
|
||||||
index: [ '_all' ]
|
index: [ '_all' ]
|
||||||
|
|
||||||
- is_true: blocks
|
- is_true: blocks
|
||||||
- is_true: nodes
|
- is_true: nodes
|
||||||
- is_true: metadata
|
- is_true: metadata
|
||||||
|
|
Loading…
Reference in New Issue