diff --git a/README.adoc b/README.adoc index 5503cec5..8f1ccb2a 100644 --- a/README.adoc +++ b/README.adoc @@ -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 } @@ -57,7 +57,7 @@ test { ---- test { retry { - maxRetries.set(3) + maxRetries.set(2) maxFailures.set(20) failOnPassedAfterRetry.set(true) } @@ -73,12 +73,12 @@ You may find that local developer builds do not benefit much from retry behaviou ---- boolean isCiServer = System.getenv().containsKey("CI") test { - if (isCiServer) { - retry { - maxRetries = 3 + retry { + if (isCiServer) { + maxRetries = 2 maxFailures = 20 - failOnPassedAfterRetry = true } + failOnPassedAfterRetry = true } } ----