forked from junit-pioneer/junit-pioneer
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add option to suspend between retrying tests (junit-pioneer#407 / jun…
…it-pioneer#604) Retrying tests may be flaky because of issues with external services. The chance that they recover and behave correctly on the next try may improve if there's a (short) pause between the test runs. This change adds an option to suspend for a fixed time span (in milliseconds) betweet tries. The implemenation simply lets the executing thread sleep, which isn't ideal. It would be much better if there were a way to schedule the next execution for later and use the thread to execute other tests in between, but Jupiter doesn't offer an API for that. Closes: junit-pioneer#407 PR: junit-pioneer#604
- Loading branch information
1 parent
b76f6d9
commit f86c28e
Showing
6 changed files
with
160 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters