Skip to content

Commit

Permalink
set failOnPassedAfterRetry inside retry block
Browse files Browse the repository at this point in the history
Signed-off-by: Nelson Osacky <[email protected]>
  • Loading branch information
runningcode committed Sep 29, 2021
1 parent af4fe53 commit e5a6ccc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ You may find that local developer builds do not benefit much from retry behaviou
----
boolean isCiServer = System.getenv().containsKey("CI")
test {
if (isCiServer) {
retry {
retry {
if (isCiServer) {
maxRetries = 2
maxFailures = 20
}
failOnPassedAfterRetry = true
}
failOnPassedAfterRetry = true
}
----

Expand Down

0 comments on commit e5a6ccc

Please sign in to comment.