Skip to content

Commit dd8557c

Browse files
committed
[API] Updates certs path in rest_api_tests_helper
1 parent a22dfc4 commit dd8557c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

elasticsearch-api/spec/rest_api_tests_helper.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@
2929
uri = URI.parse(host)
3030

3131
if test_suite == 'platinum'
32-
raw_certificate = File.read(File.join(PROJECT_PATH, '../.ci/certs/testnode.crt'))
32+
raw_certificate = File.read(File.join(PROJECT_PATH, '../.buildkite/certs/testnode.crt'))
3333
certificate = OpenSSL::X509::Certificate.new(raw_certificate)
34-
raw_key = File.read(File.join(PROJECT_PATH, '../.ci/certs/testnode.key'))
34+
raw_key = File.read(File.join(PROJECT_PATH, '../.buildkite/certs/testnode.key'))
3535
key = OpenSSL::PKey::RSA.new(raw_key)
36-
ca_file = File.expand_path(File.join(PROJECT_PATH, '/.ci/certs/ca.crt'))
36+
ca_file = File.expand_path(File.join(PROJECT_PATH, '/.buildkite/certs/ca.crt'))
3737
host = "https://elastic:#{password}@#{uri.host}:#{uri.port}".freeze
3838
transport_options = { ssl: { verify: false, client_cert: certificate, client_key: key, ca_file: ca_file } }
3939
else

0 commit comments

Comments
 (0)