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 DEV: Include exception details for each test in flaky tests report (#24892) 2023-12-14 11:11:11 +08:00
failures_logger_formatter.rb DEV: Introduce automatic reruns to RSpec tests on Github actions (#24811) 2023-12-13 07:18:27 +08:00
flaky_detector_formatter.rb DEV: Introduce automatic reruns to RSpec tests on Github actions (#24811) 2023-12-13 07:18:27 +08:00
manager.rb DEV: Remove flaky tests report when there are too many failures (#25031) 2023-12-26 09:23:17 +08:00