> ## Documentation Index
> Fetch the complete documentation index at: https://trunk-4cab4936-sam-gutentag-changelog-flaky-tests-no-monito.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://mintcdn.com/trunk-4cab4936-sam-gutentag-changelog-flaky-tests-no-monito/BmW0tIYwFT1FXVrd/assets/changelog/flaky-tests-infrastructure-failure-protection-yql4qd.png?fit=max&auto=format&n=BmW0tIYwFT1FXVrd&q=85&s=1913d8ab25579ecde386f105bd821e63" alt="" width="1708" height="712" data-path="assets/changelog/flaky-tests-infrastructure-failure-protection-yql4qd.png" />

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](https://docs.trunk.io/flaky-tests/infrastructure-failure-protection) to learn more
