discourse/lib/turbo_tests/flaky
Alan Guo Xiang Tan cfec408bc1
DEV: Remove flaky tests report when there are too many failures (#25031)
Why this change?

Currently we only rerun failing tests to check if they are flaky tests
when there are 10 or less failing tests. When there are more than 10
failing tests in the first run, we assume that the odds of those tests
being flaky are low and do not rerun the tests. However, there was a bug
where we do not clean up the potential flaky tests being logged when
there are too many test failures. This resulted in those test failures
being treated as flaky tests.

What does this change do?

Clean up the flaky tests report when we do not rerun the tests.
2023-12-26 09:23:17 +08:00
..
failed_example.rb
failures_logger_formatter.rb
flaky_detector_formatter.rb
manager.rb DEV: Remove flaky tests report when there are too many failures (#25031) 2023-12-26 09:23:17 +08:00