Merge pull request #1382 from DataDog/mar-kolya/increase-test-timeout

Increase gradle test timeout
This commit is contained in:
Nikolay Martynov 2020-04-20 14:27:56 -04:00 committed by GitHub
commit f267931794
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -351,8 +351,9 @@ tasks.withType(Test).configureEach {
useJUnitPlatform() useJUnitPlatform()
} }
// All tests must complete within 3 minutes. // All tests must complete within 15 minutes.
timeout = Duration.ofMinutes(3) // This value is quite big because with lower values (3 mins) we were experiencing large number of false positives
timeout = Duration.ofMinutes(15)
// Disable all tests if skipTests property was specified // Disable all tests if skipTests property was specified
onlyIf { !project.rootProject.hasProperty("skipTests") } onlyIf { !project.rootProject.hasProperty("skipTests") }