@@ -34,6 +34,15 @@ const esFolder = join(__dirname, '..', '..', 'elasticsearch')
34
34
const yamlFolder = join ( esFolder , 'rest-api-spec' , 'src' , 'main' , 'resources' , 'rest-api-spec' , 'test' )
35
35
const xPackYamlFolder = join ( esFolder , 'x-pack' , 'plugin' , 'src' , 'test' , 'resources' , 'rest-api-spec' , 'test' )
36
36
const 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' ,
37
46
// skipping because we are booting ES with `discovery.type=single-node`
38
47
// and this test will fail because of this configuration
39
48
'nodes.stats/30_discovery.yml' ,
@@ -91,7 +100,7 @@ function Runner (opts) {
91
100
Runner . prototype . waitCluster = function ( callback , times = 0 ) {
92
101
this . log . text = 'Waiting for ElasticSearch'
93
102
this . client . cluster . health (
94
- { waitForStatus : 'green ' , timeout : '50s' } ,
103
+ { waitForStatus : 'yellow ' , timeout : '50s' } ,
95
104
( err , res ) => {
96
105
if ( ++ times < 10 ) {
97
106
setTimeout ( ( ) => {
0 commit comments