Skip to content

Commit dacb0fb

Browse files
Fixes #49 and some missing #47 issues (#50)
* Fixes #49 and some missing #47 issues * Update tests/enrich/10_basic.yml Co-authored-by: Fernando Briano <fernando@picandocodigo.net> * Update tests/graph/explore.yml Co-authored-by: Fernando Briano <fernando@picandocodigo.net> * Update tests/indices/data_streams.yml Co-authored-by: Fernando Briano <fernando@picandocodigo.net> * Update tests/ingest/10_basic.yml Co-authored-by: Fernando Briano <fernando@picandocodigo.net> * Update tests/mtermvectors/10_basic.yml Co-authored-by: Fernando Briano <fernando@picandocodigo.net> * Update tests/ping/ping.yml Co-authored-by: Fernando Briano <fernando@picandocodigo.net> * Update tests/info.yml Co-authored-by: Fernando Briano <fernando@picandocodigo.net> * Update tests/query_ruleset/10_basic.yml Co-authored-by: Fernando Briano <fernando@picandocodigo.net> * Update tests/search_application/10_basic.yml Co-authored-by: Fernando Briano <fernando@picandocodigo.net> * Update tests/security/20_authenticate.yml Co-authored-by: Fernando Briano <fernando@picandocodigo.net> * Update tests/license.yml Co-authored-by: Fernando Briano <fernando@picandocodigo.net> * Update tests/machine_learning/data_frame_analytics.yml Co-authored-by: Fernando Briano <fernando@picandocodigo.net> --------- Co-authored-by: Fernando Briano <fernando@picandocodigo.net>
1 parent b04335d commit dacb0fb

File tree

15 files changed

+24
-24
lines changed

15 files changed

+24
-24
lines changed

tests/cat/aliases.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
---
22
setup:
33
- do:
4-
- indices.create:
5-
index: 'test_cat_aliases'
4+
indices.create:
5+
index: 'test_cat_aliases'
66
- do:
7-
- indices.put_alias:
8-
index: 'test_cat_aliases'
9-
name: 'my_alias'
7+
indices.put_alias:
8+
index: 'test_cat_aliases'
9+
name: 'my_alias'
1010
---
1111
teardown:
1212
- do:
13-
- indices.delete:
14-
index: 'test_cat_aliases'
13+
indices.delete:
14+
index: 'test_cat_aliases'
1515
---
1616
"cat.aliases":
1717
- do:

tests/cat/indices.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
setup:
33
- do:
4-
- indices.create:
5-
index: 'test_sl_cat_indices'
4+
indices.create:
5+
index: 'test_sl_cat_indices'
66

77
---
88
teardown:
99
- do:
10-
- indices.delete:
11-
index: 'test_sl_cat_indices'
10+
indices.delete:
11+
index: 'test_sl_cat_indices'
1212
---
1313
"cat.indices":
1414
- do:

tests/enrich/10_basic.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ teardown:
3737
- match: { policies.0.config.match.name: 'policy_test' }
3838

3939
- do:
40-
enrich.stats
40+
enrich.stats: {}
4141
- is_true: 'executing_policies'
4242

4343
- do:

tests/graph/explore.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ setup:
1717
id: '2'
1818
body: { keys: [4, 5, 6] }
1919
- do:
20-
indices.refresh
20+
indices.refresh: {}
2121

2222
---
2323
teardown:

tests/indices/data_lifecycle.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ teardown:
2020
include_defaults: true
2121
- is_true: 'data_streams'
2222
- do:
23-
- indices.explain_data_lifecycle: { index: 'my-data-stream' }
23+
indices.explain_data_lifecycle: { index: 'my-data-stream' }
2424
- match: { indices.my-data-stream.index: 'my-data-stream' }
2525
- do:
2626
indices.delete_data_lifecycle: { name: 'my-data-stream' }

tests/indices/data_streams.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ teardown:
2929
- match: { data_streams.0.name: logs-test }
3030

3131
- do:
32-
indices.data_streams_stats
32+
indices.data_streams_stats: {}
3333
- is_true: data_streams
3434

3535
- do:

tests/info.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
22
'info':
33
- do:
4-
info
4+
info: {}
55
- match: { name: 'serverless' }

tests/ingest/10_basic.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@
2525
ingest.delete_pipeline: { id: 'test_pipeline' }
2626
- match: { acknowledged: true }
2727
- do:
28-
ingest.processor_grok
28+
ingest.processor_grok: {}
2929
- is_true: patterns

tests/license.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
22
'license':
33
- do:
4-
license.get
4+
license.get: {}
55
- match: { license.status: 'active' }

tests/machine_learning/data_frame_analytics.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ setup:
1717
index: data-frame-analytics
1818
body: { my_dep_var: 43, name: 'test2' }
1919
- do:
20-
indices.refresh
20+
indices.refresh: {}
2121
---
2222
teardown:
2323
- do:

tests/mtermvectors/10_basic.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ setup:
1010
id: 'testing_document'
1111
body: { text: 'The quick brown fox is brown.' }
1212
- do:
13-
indices.refresh
13+
indices.refresh: {}
1414
---
1515
teardown:
1616
- do:

tests/ping/ping.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
22
'ping':
33
- do:
4-
ping
4+
ping: {}
55
- is_true: ''

tests/query_ruleset/10_basic.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
ruleset_id: 'query_ruleset_testing'
2727
- match: { ruleset_id: 'query_ruleset_testing' }
2828
- do:
29-
query_ruleset.list
29+
query_ruleset.list: {}
3030
- match: { results.0.ruleset_id: 'query_ruleset_testing' }
3131
- do:
3232
query_ruleset.delete:

tests/search_application/10_basic.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ teardown:
4545
name: 'search_app'
4646
- match: { name: 'search_app' }
4747
- do:
48-
search_application.list
48+
search_application.list: {}
4949
- gt: { count: 0 }
5050
- do:
5151
search_application.delete:

tests/security/20_authenticate.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
22
'security.authenticate':
33
- do:
4-
security.authenticate
4+
security.authenticate: {}
55
- is_true: 'enabled'

0 commit comments

Comments
 (0)