mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 13:25:00 +00:00
Abort tests running for more than 60s to catch deadlocks (#3694)
We observed recent deadlocks (e.g.
2522386625
)
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 changed files with 3 additions and 2 deletions
|
@ -1,3 +1,4 @@
|
||||||
[profile.default]
|
[profile.default]
|
||||||
# Mark tests that take longer than 10s as slow
|
# Mark tests that take longer than 10s as slow.
|
||||||
slow-timeout = "10s"
|
# Terminate after 90s as a stop-gap measure to terminate on deadlock.
|
||||||
|
slow-timeout = { period = "10s", terminate-after = 9 }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue