@@ -34,6 +34,15 @@ const esFolder = join(__dirname, '..', '..', 'elasticsearch')
3434const yamlFolder = join ( esFolder , 'rest-api-spec' , 'src' , 'main' , 'resources' , 'rest-api-spec' , 'test' )
3535const xPackYamlFolder = join ( esFolder , 'x-pack' , 'plugin' , 'src' , 'test' , 'resources' , 'rest-api-spec' , 'test' )
3636const customSkips = [
37+ // fails with ES5 with x-pack enabled
38+ 'cat.shards/10_basic.yaml' ,
39+ // fails with ES5,`repository` is a required field
40+ 'cat.snapshots/10_basic.yaml' ,
41+ // fails with ES5 with x-pack enabled
42+ 'cat.templates/10_basic.yaml' ,
43+ 'get_source/55_parent_with_routing.yaml' ,
44+ 'search/10_source_filtering.yaml' ,
45+ 'delete/50_refresh.yaml' ,
3746 // skipping because we are booting ES with `discovery.type=single-node`
3847 // and this test will fail because of this configuration
3948 'nodes.stats/30_discovery.yml' ,
@@ -91,7 +100,7 @@ function Runner (opts) {
91100Runner . prototype . waitCluster = function ( callback , times = 0 ) {
92101 this . log . text = 'Waiting for ElasticSearch'
93102 this . client . cluster . health (
94- { waitForStatus : 'green ' , timeout : '50s' } ,
103+ { waitForStatus : 'yellow ' , timeout : '50s' } ,
95104 ( err , res ) => {
96105 if ( ++ times < 10 ) {
97106 setTimeout ( ( ) => {
0 commit comments