Run command before retry or before last retry
oeresundsgruppen opened this issue · comments
Would it be an idea to allow to run a command before a retry or before last retry, e.g. restart a service, reload db etc.
CommandBeforeRetry=sqlcmd delete from tableX
CommandBeforeLastRetry=gradlew restartX && wait 60
Maybe I could add this and make PR for your review ?
This is beneficial when tests are not mackovian, e.g. they built up state...