Skip to content

Commit

Permalink
Use same failOnPassedAfterRetry on CI and local.
Browse files Browse the repository at this point in the history
Also reduce the number of suggested retries to 2.

Ref #113
  • Loading branch information
runningcode committed Sep 29, 2021
1 parent fbacf88 commit 07b9171
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Retrying is configured per test task via the `retry` extension added to each tas
----
test {
retry {
maxRetries = 3
maxRetries = 2
maxFailures = 20
failOnPassedAfterRetry = true
}
Expand All @@ -57,7 +57,7 @@ test {
----
test {
retry {
maxRetries.set(3)
maxRetries.set(2)
maxFailures.set(20)
failOnPassedAfterRetry.set(true)
}
Expand All @@ -75,11 +75,11 @@ boolean isCiServer = System.getenv().containsKey("CI")
test {
if (isCiServer) {
retry {
maxRetries = 3
maxRetries = 2
maxFailures = 20
failOnPassedAfterRetry = true
}
}
failOnPassedAfterRetry = true
}
----

Expand Down

0 comments on commit 07b9171

Please sign in to comment.