Skip to content

Commit c85b1be

Browse files
committed
debug
1 parent 0598c11 commit c85b1be

File tree

1 file changed

+2
-1
lines changed
  • elasticsearch-api/spec/yaml-test-runner

1 file changed

+2
-1
lines changed

elasticsearch-api/spec/yaml-test-runner/run.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262

6363
# If we're running in a release branch, download the corresponding branch for tests
6464
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
65+
branch = ENV['ES_YAML_TESTS_BRANCH'] || current_branch.match(/[0-9]\.[0-9]+/)&.[](0) || nil
66+
echo "+++ BRANCH: #{branch}"
6667
Elasticsearch::Tests::Downloader::run(tests_path, branch)
6768
Elasticsearch::Tests::TestRunner.new(CLIENT, tests_path, logger).run

0 commit comments

Comments
 (0)