We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0598c11 commit c85b1beCopy full SHA for c85b1be
elasticsearch-api/spec/yaml-test-runner/run.rb
@@ -62,6 +62,7 @@
62
63
# If we're running in a release branch, download the corresponding branch for tests
64
current_branch = `git rev-parse --abbrev-ref HEAD`.strip
65
-branch = current_branch.match(/[0-9]\.[0-9]+/)&.[](0) || ENV['ES_YAML_TESTS_BRANCH'] || nil
+branch = ENV['ES_YAML_TESTS_BRANCH'] || current_branch.match(/[0-9]\.[0-9]+/)&.[](0) || nil
66
+echo "+++ BRANCH: #{branch}"
67
Elasticsearch::Tests::Downloader::run(tests_path, branch)
68
Elasticsearch::Tests::TestRunner.new(CLIENT, tests_path, logger).run
0 commit comments