Skip to content

Commit 08c5cba

Browse files
committed
[CI] Buildkite: Renames RSpec logs with TEST_SUITE and Ruby version
1 parent c2aea0a commit 08c5cba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elasticsearch-api/spec/rspec_formatter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
class RSpecCustomFormatter < RSpec::Core::Formatters::JsonFormatter
1919
RSpec::Core::Formatters.register self
2020

21-
LOGFILE = File.new('tmp/rspec_log.log', 'w')
21+
LOGFILE = File.new("tmp/rspec-#{ENV['TEST_SUITE']}-#{RUBY_VERSION}.log", 'w')
2222

2323
def close(_notification)
2424
@output_hash[:examples].map do |example|

0 commit comments

Comments
 (0)