Add exponential backoff into test retrying mechanics #779
Labels
⚙️ component: Pioneer
Issues about Pioneer own things (e.g. utils)
🚦 status: in progress
📖 theme: extensions
🏗️ type: new feature
What do you think about adding exponential backoff to existing
RetryingTest
functionality?For example:
There is already
suspendForMs
which allows to put some constant time so that JUnit will wait this portion of time before running test again. By adding some exponential backoff (with base 2) JUnit will wait between second and third (if second test try also was failed) tries 2 x suspendForMs. Waiting for the next try will took 4 x suspendForMs.The text was updated successfully, but these errors were encountered: