@@ -56,18 +56,35 @@ class YamlRunnerTest extends \PHPUnit_Framework_TestCase
56
56
57
57
/** @var array A list of skipped test with their reasons */
58
58
private static $ skippedTest = [
59
+ 'cat.aliases/20_headers.yml ' => 'Using java regex fails in PHP ' ,
60
+ 'cat.aliases/20_headers.yaml ' => 'Using java regex fails in PHP ' ,
61
+
59
62
'cat.nodeattrs/10_basic.yml ' => 'Using java regex fails in PHP ' ,
63
+ 'cat.nodeattrs/10_basic.yaml ' => 'Using java regex fails in PHP ' ,
64
+
60
65
'cat.repositories/10_basic.yml ' => 'Using java regex fails in PHP ' ,
66
+ 'cat.repositories/10_basic.yaml ' => 'Using java regex fails in PHP ' ,
67
+
61
68
'indices.shrink/10_basic.yml ' => 'Shrink tests seem to require multiple nodes ' ,
62
- 'indices.rollover/10_basic.yml ' => 'Rollover test seems buggy atm '
69
+ 'indices.shrink/10_basic.yaml ' => 'Shrink tests seem to require multiple nodes ' ,
70
+
71
+ 'indices.rollover/10_basic.yml ' => 'Rollover test seems buggy atm ' ,
72
+ 'indices.rollover/10_basic.yaml ' => 'Rollover test seems buggy atm ' ,
63
73
];
64
74
65
75
/** @var array A list of files to skip completely, due to fatal parsing errors */
66
76
private static $ skippedFiles = [
67
77
'indices.create/10_basic.yml ' => 'Temporary: Yaml parser doesnt support "inline" empty keys ' ,
78
+ 'indices.create/10_basic.yaml ' => 'Temporary: Yaml parser doesnt support "inline" empty keys ' ,
79
+
68
80
'indices.put_mapping/10_basic.yml ' => 'Temporary: Yaml parser doesnt support "inline" empty keys ' ,
81
+ 'indices.put_mapping/10_basic.yaml ' => 'Temporary: Yaml parser doesnt support "inline" empty keys ' ,
82
+
69
83
'search/110_field_collapsing.yml ' => 'Temporary: parse error, malformed inline yaml ' ,
70
- 'cat.nodes/10_basic.yml ' => 'Temporary: parse error, something about $body: | '
84
+ 'search/110_field_collapsing.yaml ' => 'Temporary: parse error, malformed inline yaml ' ,
85
+
86
+ 'cat.nodes/10_basic.yml ' => 'Temporary: parse error, something about $body: | ' ,
87
+ 'cat.nodes/10_basic.yaml ' => 'Temporary: parse error, something about $body: | ' ,
71
88
];
72
89
73
90
/**
@@ -733,6 +750,9 @@ public function yamlProvider()
733
750
$ finder ->files ();
734
751
$ finder ->name ('*.yml ' );
735
752
753
+ // *.yaml files should be included until the library is ES 6.0+ only
754
+ $ finder ->name ('*.yaml ' );
755
+
736
756
$ filter = isset ($ _SERVER ['TEST_CASE ' ]) ? $ _SERVER ['TEST_CASE ' ] : null ;
737
757
738
758
/** @var SplFileInfo $file */
0 commit comments