File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -12,3 +12,14 @@ dependencies {
1212 testImplementation(" org.hipparchus:hipparchus-core:4.0.1" )
1313 testImplementation(" org.hipparchus:hipparchus-stat:4.0.1" )
1414}
15+
16+ tasks {
17+ withType<Test >().configureEach {
18+ develocity.testRetry {
19+ // TODO (trask) fix flaky tests and remove this workaround
20+ if (System .getenv().containsKey(" CI" )) {
21+ maxRetries.set(5 )
22+ }
23+ }
24+ }
25+ }
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ tasks {
8282 systemProperty(" gradle.project.version" , " ${project.version} " )
8383
8484 develocity.testRetry {
85- // You can see tests that were retried by this mechanism in the collected test reports and build scans.
85+ // TODO (trask) fix flaky tests and remove this workaround
8686 if (System .getenv().containsKey(" CI" )) {
8787 maxRetries.set(5 )
8888 }
You can’t perform that action at this time.
0 commit comments