Closed danilokleber closed 5 years ago
@danilokleber the timeout you are getting is not coming from ExUnit, but rather from your database configuration. You can set ownership_timeout: ...
to a higher value when configuring your repository. I believe recent versions bumped it to infinity but you can do it yourself. :)
Environment
Current behavior
I'm trying to use
require IEx; IEx.pry
to debug something. So I runiex -S mix test --trace
to get rid of the db timeout. However when I try to run just one file or test usingiex -S mix test --trace path/to/file
it ignores the infinity timeout set by the--trace
option and gives the following after 1 minute:I also have tried a few other options to disable timeout with no success in that specific case of running a single file/test.
Expected behavior
It should be the same as when I run the full test suite.