From d22d1407c6c6969ce3ce63fbb77cb16e43d49686 Mon Sep 17 00:00:00 2001 From: Nelson Osacky Date: Wed, 29 Sep 2021 16:32:20 +0200 Subject: [PATCH] Use same `failOnPassedAfterRetry` on CI and local. Also reduce the number of suggested retries to 2. Ref #113 --- README.adoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.adoc b/README.adoc index 5503cec5..a1384754 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) } @@ -75,11 +75,11 @@ boolean isCiServer = System.getenv().containsKey("CI") test { if (isCiServer) { retry { - maxRetries = 3 + maxRetries = 2 maxFailures = 20 - failOnPassedAfterRetry = true } } + failOnPassedAfterRetry = true } ----