-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path10_basic.yml
52 lines (45 loc) · 893 Bytes
/
10_basic.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
requires:
stack: true
serverless: false
---
'Nodes':
- do:
nodes.info: {}
- is_true: _nodes
- gte: { _nodes.total: 1 }
- do:
nodes.stats: {}
- is_true: _nodes
- gte: { _nodes.total: 1 }
- do:
nodes.usage: {}
- is_true: _nodes
- gte: { _nodes.total: 1 }
- do:
nodes.hot_threads:
type: "cpu"
format: json
- match:
$body: /Hot\ threads\ at/
- do:
nodes.reload_secure_settings: {}
- is_true: nodes
- is_true: cluster_name
- do:
cat.nodes:
format: 'json'
full_id: true
h: 'id'
- set: { 0.id: id }
- do:
nodes.get_repositories_metering_info:
node_id: $id
- is_true: nodes
- is_true: cluster_name
- do:
nodes.clear_repositories_metering_archive:
node_id: $id
max_archive_version: 1
- is_true: nodes
- is_true: cluster_name