Wait before retrying tests via --rerun-failed flag
Is there a feature available to specify a wait time before retrying tests? This feature could potentially help mitigate failures caused by resource contention in services. Implementing an exponential wait time can be particularly effective in such scenarios, reducing the likelihood of failures.
Hello, thanks for the feature request! There's no way to do that today. Generally the --rerun-fails option is to deal with flaky tests, but I've never encountered a situation where the tests required extra wait time between attempts.
Could you elaborate on the scenario where extra delay would help? If the test is failing to acquire some resource, maybe it could implement some retry before failing?