File tree 2 files changed +3
-3
lines changed
elasticsearch-api/spec/yaml-test-runner
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 29
29
env :
30
30
RUBY_VERSION : " {{ matrix.ruby }}"
31
31
STACK_VERSION : 9.0.0-SNAPSHOT
32
- ES_YAML_TESTS_BRANCH : main
32
+ ES_YAML_TESTS_BRANCH : ' 9.0 '
33
33
TRANSPORT_VERSION : " {{ matrix.transport }}"
34
34
RUBY_SOURCE : " {{ matrix.ruby_source }}"
35
35
TEST_SUITE : " platinum"
62
62
RUBY_VERSION : " 3.4"
63
63
RUBY_SOURCE : " ruby"
64
64
TEST_SUITE : serverless
65
- ES_YAML_TESTS_BRANCH : main
65
+ ES_YAML_TESTS_BRANCH : ' 9.0 '
66
66
QUIET : false
67
67
command : ./.buildkite/run-yaml-tests.sh
68
68
artifact_paths : " elasticsearch-api/tmp/*"
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ def serverless?
81
81
82
82
# If we're running in a release branch, download the corresponding branch for tests
83
83
current_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
85
85
Elasticsearch ::Tests ::Downloader ::run ( tests_path , branch )
86
86
87
87
runner = Elasticsearch ::Tests ::TestRunner . new ( CLIENT , tests_path , logger )
You can’t perform that action at this time.
0 commit comments