File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
dd-smoke-tests/maven/src/test/groovy/datadog/smoketest Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -333,7 +333,7 @@ class MavenSmokeTest extends CiVisibilitySmokeTest {
333
333
334
334
if (! p. waitFor(PROCESS_TIMEOUT_SECS , TimeUnit . SECONDS )) {
335
335
p. destroyForcibly()
336
- throw new TimeoutException (" Instrumented process failed to exit" )
336
+ throw new TimeoutException (" Instrumented process failed to exit within $P ROCESS_TIMEOUT_SECS " )
337
337
}
338
338
339
339
return p. exitValue()
Original file line number Diff line number Diff line change @@ -124,3 +124,13 @@ if (!project.property("activePartition")) {
124
124
}
125
125
}
126
126
}
127
+
128
+ tasks. withType(Test ) {
129
+ // https://docs.gradle.com/develocity/flaky-test-detection/
130
+ // https://docs.gradle.com/develocity/gradle-plugin/current/#test_retry
131
+ develocity. testRetry {
132
+ if (System . getenv(). containsKey(" CI" )) {
133
+ maxRetries = 3
134
+ }
135
+ }
136
+ }
You can’t perform that action at this time.
0 commit comments