Skip to content

Commit 6aa8871

Browse files
committed
Always retry consistent sampling tests for now
1 parent 4b77188 commit 6aa8871

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

consistent-sampling/build.gradle.kts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
}

jmx-scraper/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)