I'm writing an integration test and trying to debug it with the debugger in VSCode. It works but it times out after 60 seconds, which makes it hard to use. It times out with the panic:
my_test' panicked at 'test my_test ... test my_test has been running for over 60 seconds
Is there a way to increase or disable the timeout with a command-line argument?
Thanks @kornel! That solves my immediate problem. I would like to do it without changing my Cargo.toml file. Do you know if it is possible to pass that as an environment variable or a switch on the command-line?
AIUI the point is not whether the test is big/slow, but rather that they are stepping through it with an interactive debugger -- artificially slowing it down.
Still, I don't know of any way to remove that warning.