# Enable or Disable Automatic Rerunning of Tests

Testery can be configured to automatically retry tests when there are test failures.&#x20;

When the setting is enabled, tests will automatically rerun. If tests fail initially but subsequently pass, Testery will flag them as "flaky".&#x20;

Please keep in mind that automatically rerunning test failures can be considered a bad practice. If the system under test is not producing reliable results, rerunning failed tests can mask this issue (e.g. you have two servers behind a load balancer and one of them is unresponsive, resulting in 50% of traffic getting rejected).&#x20;

That said, it can also be a lot of work to get your tests to be reliable, especially when running at high levels of parallelism. So we provide you the option and promise not to judge you.

To change this setting, navigate to **Projects** and click ![](/files/uCsTgo72iPlPD1Qg9pda)next to the Project you want to change the setting for. Select **Edit Settings.**&#x20;

You can then modify the setting to automatically retry tests.

![](/files/NWBAJVKHed6C3ZBXvNre)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.testery.io/how-to/enable-or-disable-automatic-rerunning-of-tests.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
