Skip to content

Commit bc8bbe2

Browse files
Increase Maven smoke test timeout (#9040)
1 parent df6adb3 commit bc8bbe2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

dd-smoke-tests/maven/build.gradle

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
import java.time.Duration
2+
import java.time.temporal.ChronoUnit
3+
14
plugins {
25
id 'com.gradleup.shadow'
36
}
@@ -21,6 +24,10 @@ tasks.withType(Test).configureEach {
2124
dependsOn "shadowJar"
2225
jvmArgs "-Ddatadog.smoketest.maven.jar.path=${tasks.shadowJar.archiveFile.get()}"
2326

27+
// overriding the default timeout set in configure_tests.gradle, as Maven smoke
28+
// tests might run for a longer duration
29+
timeout = Duration.of(20, ChronoUnit.MINUTES)
30+
2431
if (project.hasProperty("mavenRepositoryProxy")) {
2532
// propagate proxy URL to tests, to then propagate it to nested Gradle builds
2633
environment "MAVEN_REPOSITORY_PROXY", project.property("mavenRepositoryProxy")

0 commit comments

Comments
 (0)