File tree Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -76,6 +76,13 @@ tasks {
7676 exceptionFormat = TestExceptionFormat .FULL
7777 showStandardStreams = true
7878 }
79+
80+ configure<JacocoTaskExtension > {
81+ // only care about code coverage for code in this repository
82+ // (in particular avoiding netty classes which sometimes end up
83+ // causing sporadic CI failures)
84+ includes = listOf (" io/opentelemetry/contrib/**" )
85+ }
7986 }
8087
8188 withType<Javadoc >().configureEach {
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