@@ -29,6 +29,7 @@ const { join, sep } = require('path')
2929const yaml = require ( 'js-yaml' )
3030const ms = require ( 'ms' )
3131const { Client } = require ( '../../index' )
32+ const { kProductCheck } = require ( '@elastic/transport/lib/symbols' )
3233const build = require ( './test-runner' )
3334const { sleep } = require ( './helper' )
3435const createJunitReporter = require ( './reporter' )
@@ -49,6 +50,8 @@ const freeSkips = {
4950 'Body params with array param override query string' ,
5051 'Body params with string param scroll id override query string'
5152 ] ,
53+ 'free/cat.allocation/10_basic.yml' : [ '*' ] ,
54+ 'free/cat.snapshots/10_basic.yml' : [ 'Test cat snapshots output' ] ,
5255 // TODO: remove this once 'arbitrary_key' is implemented
5356 // https://github.com/elastic/elasticsearch/pull/41492
5457 'indices.split/30_copy_settings.yml' : [ '*' ] ,
@@ -62,9 +65,11 @@ const freeSkips = {
6265 'search.aggregation/240_max_buckets.yml' : [ '*' ] ,
6366 // the yaml runner assumes that null means "does not exists",
6467 // 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' ]
6670}
6771const platinumBlackList = {
72+ 'api_key/20_query.yml' : [ '*' ] ,
6873 'analytics/histogram.yml' : [ 'Histogram requires values in increasing order' ] ,
6974 // this two test cases are broken, we should
7075 // return on those in the future.
@@ -93,9 +98,15 @@ const platinumBlackList = {
9398 // The cleanup fails with a index not found when retrieving the jobs
9499 'ml/get_datafeed_stats.yml' : [ 'Test get datafeed stats when total_search_time_ms mapping is missing' ] ,
95100 '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' ] ,
96106 'ml/preview_datafeed.yml' : [ '*' ] ,
97107 // Investigate why is failing
98108 'ml/inference_crud.yml' : [ '*' ] ,
109+ 'ml/categorization_agg.yml' : [ 'Test categorization aggregation with poor settings' ] ,
99110 // investigate why this is failing
100111 'monitoring/bulk/10_basic.yml' : [ '*' ] ,
101112 'monitoring/bulk/20_privileges.yml' : [ '*' ] ,
@@ -161,6 +172,8 @@ function runner (opts = {}) {
161172 }
162173 }
163174 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
164177 log ( 'Loading yaml suite' )
165178 start ( { client, isXPack : opts . isXPack } )
166179 . catch ( err => {
0 commit comments