-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
Description
What you're trying to do
I appreciate that having a global timeout in order to catch unexpected behavior in a test and not consume too much CI resources. However, some tests take a long time intentionally, and I would like to be able to use t.timeout() to explicitly override the global timeouts for just one test. Right now, you can only override the global timeouts if then t.timeout() is shorter than the global timeout. It would be nice if it overrides when t.timeout() is longer as well.
I think I am not the only one, as I found this question referring to the same problem.
Why you can't use AVA for this
There is no way to have a global timeout that is something like 10s and a timeout for a particular test that is longer, like 30s.
And maybe how you think AVA could handle this
I'm not sure how the timeouts are coded, it might be a one-liner :)
pyrho, calebsander, lululeon, mikob, silouone and 6 more