Skip to content

Commit b5a029d

Browse files
committed
Fixed path in build_tests
1 parent 2d689b2 commit b5a029d

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

util/YamlTests.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ private function getAllTests(string $dir): array
131131
// Iterate over the Yaml test files
132132
foreach (new RecursiveIteratorIterator($it) as $file) {
133133
if ($file->getExtension() === 'yml') {
134-
printf ("Parsing file %s\n", $file->getPathname());
135134
$test = yaml_parse_file($file->getPathname(), -1, $ndocs, [
136135
YAML_MAP_TAG => function($value, $tag, $flags) {
137136
return empty($value) ? new stdClass : $value;

util/build_tests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
printf ("Using Elasticsearch %s version\n", $version);
5151
printf ("With build hash %s\n", $buildHash);
5252

53-
$yamlOutputTest = __DIR__ . '/../tests/Elasticsearch/Tests/Yaml';
53+
$yamlOutputTest = __DIR__ . '/../tests/Yaml';
5454
$yamlTestFolder = sprintf("%s/rest-spec/%s/rest-api-spec/test/%s", __DIR__, $buildHash, strtolower($stack));
5555

5656
$test = new YamlTests($yamlTestFolder, $yamlOutputTest, $version, $stack);

0 commit comments

Comments
 (0)