Only retry tests in CI (#950)
This commit is contained in:
parent
8bdde56d06
commit
d778297b55
|
@ -282,6 +282,6 @@ tasks.withType(Test).configureEach {
|
|||
|
||||
retry {
|
||||
// You can see tests that were retried by this mechanism in the collected test reports and build scans.
|
||||
maxRetries = 5
|
||||
maxRetries = System.getenv("CI") != null ? 5 : 0
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue