Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -446,13 +446,16 @@ gradle.projectsEvaluated {
}

// test retry configuration
boolean isCiServer = System.getenv().containsKey("CI")
subprojects {
apply plugin: "org.gradle.test-retry"
tasks.withType(Test).configureEach {
retry {
if (isCiServer) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BuildParams.isCI()

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call. Fixed here: #5368

I'll backport that one and close this PR.

maxRetries = 3
maxFailures = 10
}
failOnPassedAfterRetry = false
maxRetries = 3
maxFailures = 10
}
}
}
Expand Down