> ## Documentation Index
> Fetch the complete documentation index at: https://trunk-4cab4936-mintlify-4e02f272.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Flaky Tests: Infrastructure Failure Protection

> 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…

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.

<img src="https://mintlify.s3.us-west-1.amazonaws.com/trunk-4cab4936-mintlify-4e02f272/assets/changelog/flaky-tests-infrastructure-failure-protection-yql4qd.png" alt="" />

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](/flaky-tests/detection/infrastructure-failure-protection) to learn more
