mirror of https://github.com/astral-sh/uv
Abort tests running for more than 60s to catch deadlocks (#3694)
We observed recent deadlocks (e.g. https://github.com/astral-sh/uv/actions/runs/9173987312/job/25223866259?pr=3693) causing CI to run until the default github actions timeout. To prevent this, we add a 60s timeout in nextest. 60s should be enough both on CI and on developers' machines.
This commit is contained in:
parent
76418f5bdf
commit
647f70505e
|
|
@ -1,3 +1,4 @@
|
|||
[profile.default]
|
||||
# Mark tests that take longer than 10s as slow
|
||||
slow-timeout = "10s"
|
||||
# Mark tests that take longer than 10s as slow.
|
||||
# Terminate after 90s as a stop-gap measure to terminate on deadlock.
|
||||
slow-timeout = { period = "10s", terminate-after = 9 }
|
||||
|
|
|
|||
Loading…
Reference in New Issue