Skip to content
Merged
Show file tree
Hide file tree
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: 7 additions & 0 deletions buildSrc/src/main/kotlin/otel.java-conventions.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,13 @@ tasks {
exceptionFormat = TestExceptionFormat.FULL
showStandardStreams = true
}

configure<JacocoTaskExtension> {
// only care about code coverage for code in this repository
// (in particular avoiding netty classes which sometimes end up
// causing sporadic CI failures)
includes = listOf("io/opentelemetry/contrib/**")
}
}

withType<Javadoc>().configureEach {
Expand Down
11 changes: 11 additions & 0 deletions consistent-sampling/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,14 @@ dependencies {
testImplementation("org.hipparchus:hipparchus-core:4.0.1")
testImplementation("org.hipparchus:hipparchus-stat:4.0.1")
}

tasks {
withType<Test>().configureEach {
develocity.testRetry {
// TODO (trask) fix flaky tests and remove this workaround
if (System.getenv().containsKey("CI")) {
maxRetries.set(5)
}
}
}
}
2 changes: 1 addition & 1 deletion jmx-scraper/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ tasks {
systemProperty("gradle.project.version", "${project.version}")

develocity.testRetry {
// You can see tests that were retried by this mechanism in the collected test reports and build scans.
// TODO (trask) fix flaky tests and remove this workaround
if (System.getenv().containsKey("CI")) {
maxRetries.set(5)
}
Expand Down
Loading