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:
konsti 2024-05-21 15:19:57 +02:00 committed by GitHub
parent 76418f5bdf
commit 647f70505e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 }