@@ -29,6 +29,7 @@ const { join, sep } = require('path')
29
29
const yaml = require ( 'js-yaml' )
30
30
const ms = require ( 'ms' )
31
31
const { Client } = require ( '../../index' )
32
+ const { kProductCheck } = require ( '@elastic/transport/lib/symbols' )
32
33
const build = require ( './test-runner' )
33
34
const { sleep } = require ( './helper' )
34
35
const createJunitReporter = require ( './reporter' )
@@ -49,6 +50,8 @@ const freeSkips = {
49
50
'Body params with array param override query string' ,
50
51
'Body params with string param scroll id override query string'
51
52
] ,
53
+ 'free/cat.allocation/10_basic.yml' : [ '*' ] ,
54
+ 'free/cat.snapshots/10_basic.yml' : [ 'Test cat snapshots output' ] ,
52
55
// TODO: remove this once 'arbitrary_key' is implemented
53
56
// https://github.com/elastic/elasticsearch/pull/41492
54
57
'indices.split/30_copy_settings.yml' : [ '*' ] ,
@@ -62,9 +65,11 @@ const freeSkips = {
62
65
'search.aggregation/240_max_buckets.yml' : [ '*' ] ,
63
66
// the yaml runner assumes that null means "does not exists",
64
67
// while null is a valid json value, so the check will fail
65
- 'search/320_disallow_queries.yml' : [ 'Test disallow expensive queries' ]
68
+ 'search/320_disallow_queries.yml' : [ 'Test disallow expensive queries' ] ,
69
+ 'free/tsdb/90_unsupported_operations.yml' : [ 'noop update' ]
66
70
}
67
71
const platinumBlackList = {
72
+ 'api_key/20_query.yml' : [ '*' ] ,
68
73
'analytics/histogram.yml' : [ 'Histogram requires values in increasing order' ] ,
69
74
// this two test cases are broken, we should
70
75
// return on those in the future.
@@ -93,9 +98,15 @@ const platinumBlackList = {
93
98
// The cleanup fails with a index not found when retrieving the jobs
94
99
'ml/get_datafeed_stats.yml' : [ 'Test get datafeed stats when total_search_time_ms mapping is missing' ] ,
95
100
'ml/bucket_correlation_agg.yml' : [ 'Test correlation bucket agg simple' ] ,
101
+ // start should be a string
102
+ 'ml/jobs_get_result_overall_buckets.yml' : [ 'Test overall buckets given epoch start and end params' ] ,
103
+ // this can't happen with the client
104
+ 'ml/start_data_frame_analytics.yml' : [ 'Test start with inconsistent body/param ids' ] ,
105
+ 'ml/stop_data_frame_analytics.yml' : [ 'Test stop with inconsistent body/param ids' ] ,
96
106
'ml/preview_datafeed.yml' : [ '*' ] ,
97
107
// Investigate why is failing
98
108
'ml/inference_crud.yml' : [ '*' ] ,
109
+ 'ml/categorization_agg.yml' : [ 'Test categorization aggregation with poor settings' ] ,
99
110
// investigate why this is failing
100
111
'monitoring/bulk/10_basic.yml' : [ '*' ] ,
101
112
'monitoring/bulk/20_privileges.yml' : [ '*' ] ,
@@ -161,6 +172,8 @@ function runner (opts = {}) {
161
172
}
162
173
}
163
174
const client = new Client ( options )
175
+ // TODO: remove the following line once https://github.com/elastic/elasticsearch/issues/82358 is fixed
176
+ client . transport [ kProductCheck ] = null
164
177
log ( 'Loading yaml suite' )
165
178
start ( { client, isXPack : opts . isXPack } )
166
179
. catch ( err => {
0 commit comments