forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 2
/
30_feature.yml
28 lines (23 loc) · 1.17 KB
/
30_feature.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
"cluster health test drilling down into a component and a feature":
- skip:
version: "- 8.3.99"
reason: "health drilldown was only added in 8.3.0, and master_is_stable in 8.4.0"
- do:
_internal.health:
component: cluster_coordination
feature: master_is_stable
- is_true: cluster_name
- match: { components.cluster_coordination.indicators.master_is_stable.status: "green" }
- match: { components.cluster_coordination.indicators.master_is_stable.summary: "The cluster has a stable master node" }
- is_true: components.cluster_coordination.indicators.master_is_stable.details.current_master
- is_true: components.cluster_coordination.indicators.master_is_stable.details.recent_masters
- do:
_internal.health:
component: cluster_coordination
feature: master_is_stable
explain: false
- is_true: cluster_name
- match: { components.cluster_coordination.indicators.master_is_stable.status: "green" }
- match: { components.cluster_coordination.indicators.master_is_stable.summary: "The cluster has a stable master node" }
- is_false: components.cluster_coordination.indicators.master_is_stable.details