File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ elif [[ $TEST_SUITE != "platinum" ]]; then
72
72
--network=" ${network_name} " \
73
73
--env " TEST_ES_SERVER=${elasticsearch_url} " \
74
74
--env " TEST_SUITE=${TEST_SUITE} " \
75
+ --env " STACK_VERSION=${STACK_VERSION} " \
75
76
--volume $repo :/usr/src/app \
76
77
--volume=/tmp:/tmp \
77
78
--name elasticsearch-ruby \
86
87
--env " TEST_SUITE=${TEST_SUITE} " \
87
88
--env " ELASTIC_USER=elastic" \
88
89
--env " SINGLE_TEST=${SINGLE_TEST} " \
90
+ --env " STACK_VERSION=${STACK_VERSION} " \
89
91
--env " ELASTIC_CLIENT_APIVERSIONING=${ELASTIC_API_VERSIONING:- false} " \
90
92
--volume $repo :/usr/src/app \
91
93
--name elasticsearch-ruby \
Original file line number Diff line number Diff line change 18
18
require "#{ File . expand_path ( File . dirname ( '..' ) , '..' ) } /api-spec-testing/test_file"
19
19
require "#{ File . expand_path ( File . dirname ( '..' ) , '..' ) } /api-spec-testing/rspec_matchers"
20
20
include Elasticsearch ::RestAPIYAMLTests
21
- require 'elasticsearch/xpack'
22
21
23
22
TRANSPORT_OPTIONS = { }
24
23
PROJECT_PATH = File . join ( File . dirname ( __FILE__ ) , '..' )
25
24
STACK_VERSION = ENV [ 'STACK_VERSION' ]
25
+ require 'elasticsearch/xpack'
26
26
27
27
if ( hosts = ELASTICSEARCH_URL )
28
28
split_hosts = hosts . split ( ',' ) . map do |host |
You can’t perform that action at this time.
0 commit comments