mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 00:20:49 +08:00
14 lines
486 B
Ruby
14 lines
486 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
module TurboTests
|
||
|
module Flaky
|
||
|
# This class is responsible for logging the failed examples in JSON format with the necessary debugging information
|
||
|
# to debug the test failures. See `TurboTests::Flaky::FailedExample#to_h` for the debugging information that we log.
|
||
|
class FailuresLoggerFormatter
|
||
|
def dump_summary(notification, _timings)
|
||
|
Manager.log_potential_flaky_tests(notification.failed_examples)
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|