Skip to content

Add message when known flaky examples were found

David Dieulivol requested to merge ddieulivol-add_logging_for_rspec_flaky into master

Context

Related to #428768 (closed).

Currently, when we encounter a flaky test with the rspec-retry gem, we will only print a message in the job trace if that flaky test is new (source).

We don't display anything when the flaky test is known: we just persist those known flaky tests in the FLAKY_RSPEC_REPORT_PATH file (source).

What does this MR do and why?

Adds a message in job trace to mention that we're going to populate the FLAKY_RSPEC_REPORT_PATH file.

This will make it easier to search for jobs that had a flaky test with rspec-retry.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading