File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
elasticsearch-api/spec/yaml-test-runner Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2929 env :
3030 RUBY_VERSION : " {{ matrix.ruby }}"
3131 STACK_VERSION : 9.0.0-SNAPSHOT
32- ES_YAML_TESTS_BRANCH : main
32+ ES_YAML_TESTS_BRANCH : ' 9.0 '
3333 TRANSPORT_VERSION : " {{ matrix.transport }}"
3434 RUBY_SOURCE : " {{ matrix.ruby_source }}"
3535 TEST_SUITE : " platinum"
6262 RUBY_VERSION : " 3.4"
6363 RUBY_SOURCE : " ruby"
6464 TEST_SUITE : serverless
65- ES_YAML_TESTS_BRANCH : main
65+ ES_YAML_TESTS_BRANCH : ' 9.0 '
6666 QUIET : false
6767 command : ./.buildkite/run-yaml-tests.sh
6868 artifact_paths : " elasticsearch-api/tmp/*"
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ def serverless?
8181
8282# If we're running in a release branch, download the corresponding branch for tests
8383current_branch = `git rev-parse --abbrev-ref HEAD` . strip
84- branch = current_branch . match ( /[0-9]\. [0-9]+/ ) &.[]( 0 ) || ENV [ 'ES_YAML_TESTS_BRANCH' ] || nil
84+ branch = ENV [ 'ES_YAML_TESTS_BRANCH' ] || current_branch . match ( /[0-9]\. [0-9]+/ ) &.[]( 0 ) || nil
8585Elasticsearch ::Tests ::Downloader ::run ( tests_path , branch )
8686
8787runner = Elasticsearch ::Tests ::TestRunner . new ( CLIENT , tests_path , logger )
You can’t perform that action at this time.
0 commit comments