Skip to content

Commit 6d40285

Browse files
increase maven smoke test timeout to 20
1 parent 0f9b46c commit 6d40285

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

dd-smoke-tests/maven/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import java.time.Duration
2+
13
plugins {
24
id "com.gradleup.shadow"
35
}
@@ -21,6 +23,10 @@ tasks.withType(Test).configureEach {
2123
dependsOn "shadowJar"
2224
jvmArgs "-Ddatadog.smoketest.maven.jar.path=${tasks.shadowJar.archiveFile.get()}"
2325

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

0 commit comments

Comments
 (0)