Skip to content

Commit 959d96f

Browse files
committed
[CI] Add test_suite to log filename
1 parent 1ff10ad commit 959d96f

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
tests_path = File.expand_path('./tmp', __dir__)
5757
ruby_version = defined?(JRUBY_VERSION) ? "jruby-#{JRUBY_VERSION}" : "ruby-#{RUBY_VERSION}"
5858

59-
log_filename = "es-#{Elasticsearch::VERSION}-transport-#{ENV['TRANSPORT_VERSION']}-#{ruby_version}.log"
59+
log_filename = "es-#{Elasticsearch::VERSION}-#{ENV['TEST_SUITE']}-transport-#{ENV['TRANSPORT_VERSION']}-#{ruby_version}.log"
6060
logfile = File.expand_path "../../tmp/#{log_filename}", __dir__
6161
logger = Logger.new(File.open(logfile, 'w'))
6262
logger.level = ENV['DEBUG'] ? Logger::DEBUG : Logger::WARN

0 commit comments

Comments
 (0)