Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
byroot committed Oct 8, 2024
1 parent 1c5283c commit b066452
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ruby/lib/minitest/queue/build_status_reporter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@ def progress

def write_failure_file(file)
File.write(file, error_reports.map(&:to_h).to_json)
rescue JSON::GeneratorError
error_reports.each do |report|
report.to_h.to_json
rescue JSON::GeneratorError
pp report
end
end

def write_flaky_tests_file(file)
Expand Down

0 comments on commit b066452

Please sign in to comment.