mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-03 17:39:15 +00:00
Fix the nodes.info/20_transport test to use the master node, rather than to rely on applying a regex to the whole $body
14 lines
208 B
YAML
14 lines
208 B
YAML
---
|
|
|
|
"node_info test profile is empty":
|
|
- do:
|
|
cluster.state: {}
|
|
|
|
- set: {master_node: master}
|
|
|
|
- do:
|
|
nodes.info:
|
|
metric: [ transport ]
|
|
|
|
- is_true: nodes.$master.transport.profiles
|