Build: Don't retry tests in local builds
This commit is contained in:
@@ -3,7 +3,7 @@ apply(plugin = "org.gradle.test-retry")
|
||||
|
||||
tasks.withType<Test>().configureEach {
|
||||
configure<org.gradle.testretry.TestRetryTaskExtension> {
|
||||
maxRetries.set(3)
|
||||
maxRetries.set(if (kotlinBuildProperties.isTeamcityBuild) 3 else 0)
|
||||
maxFailures.set(20)
|
||||
failOnPassedAfterRetry.set(false)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user