When infrastructure issues like database outages, network problems, or CI runner failures cause a large number of tests to fail simultaneously, retrying those tests can trigger mass false flaky detections. Infrastructure Failure Protection identifies these scenarios and excludes them from flakiness detection.

By enabling this setting, you can set a threshold for filtering runs based on the percentage of failed tests; if failures exceed 80%, those tests won't be processed for flaky test detection and you'll see a new status in the Uploads tab indicating 'Upload Skipped Due to Infrastructure Error'.

Read the Docs to learn more