Skip to content

Commit

Permalink
Update test retry parameters
Browse files Browse the repository at this point in the history
Signed-off-by: Kunal Kotwani <[email protected]>
  • Loading branch information
kotwanikunal committed Mar 29, 2022
1 parent 811ee66 commit 3dcf356
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -391,11 +391,12 @@ gradle.projectsEvaluated {
boolean isCiServer = System.getenv().containsKey("CI")
subprojects {
apply plugin: "org.gradle.test-retry"
tasks.withType(Test).configureEach {
retry {
if (isCiServer) {
if (isCiServer) {
tasks.withType(Test).configureEach {
retry {
failOnPassedAfterRetry = false
maxRetries = 5
maxRetries = 1
maxFailures = 10
}
}
}
Expand Down

0 comments on commit 3dcf356

Please sign in to comment.