Skip to content

Commit

Permalink
Apply general test task timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
leonard84 committed Aug 19, 2024
1 parent e13b2bd commit 64c074e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import java.time.Duration

import static org.spockframework.gradle.AsciiDocLinkVerifier.verifyAnchorlessCrossDocumentLinks
import static org.spockframework.gradle.AsciiDocLinkVerifier.verifyLinksAndAnchors

Expand Down Expand Up @@ -193,6 +195,8 @@ subprojects {
//Required for building on Travis' container-based infrastructure to not be killed with
//'exit code 137' - https://github.com/travis-ci/travis-ci/issues/5582
jvmArgs '-Xmx512m'
// As a generous general timeout, instead of the 6h of GHA.
timeout = Duration.ofMinutes(15)
}

tasks.register("allDependencyInsight", DependencyInsightReportTask) {}
Expand Down

0 comments on commit 64c074e

Please sign in to comment.