Commit 11a2e45
committed
ci: Reduce pytest reruns from 10 to 4 to improve CI stability and resource usage
While reruns are useful for mitigating flaky tests, a high rerun count significantly increases execution time for long-running integration tests (e.g. regtest / Docker-based setups). In the worst case, a single flaky test can run for nearly an hour, increasing the risk of GitHub Actions runner timeouts and unnecessary resource consumption.
Reducing the reruns to 4 provides a better balance by:
- Limiting excessive re-execution of long-running tests
- Reducing overall CI runtime and runner usage
- Surfacing persistent or systemic issues earlier, rather than masking them with repeated retries
If a test consistently requires more than a few reruns to pass, it is likely indicative of a real issue rather than transient flakiness.1 parent 2bba6f0 commit 11a2e45
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments