File tree 2 files changed +24
-4
lines changed
2 files changed +24
-4
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,3 @@ teardown:
26
26
- do :
27
27
indices.explain_data_lifecycle : { index: 'my-data-stream' }
28
28
- match : { indices.my-data-stream.index: 'my-data-stream' }
29
- - do :
30
- indices.delete_data_lifecycle :
31
- name : ' my-data-stream'
32
- - match : { acknowledged: true }
Original file line number Diff line number Diff line change
1
+ ---
2
+ requires :
3
+ serverless : false
4
+ stack : true
5
+ ---
6
+ setup :
7
+ - do :
8
+ indices.create : { index: 'my-data-stream' }
9
+ ---
10
+ teardown :
11
+ - do :
12
+ indices.delete : { index: 'my-data-stream' }
13
+ ---
14
+ ' data_lifecycle ' :
15
+ - do :
16
+ indices.put_data_lifecycle :
17
+ name : ' my-data-stream'
18
+ body :
19
+ data_retention : ' 7d'
20
+ - is_true : ' acknowledged'
21
+ - do :
22
+ indices.delete_data_lifecycle :
23
+ name : ' my-data-stream'
24
+ - match : { acknowledged: true }
You can’t perform that action at this time.
0 commit comments