From 64c074ee38642b29f931352a9034b7a28590aad7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonard=20Br=C3=BCnings?= Date: Mon, 19 Aug 2024 15:15:05 +0200 Subject: [PATCH] Apply general test task timeout --- build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.gradle b/build.gradle index 941719f982..134d8bcfce 100644 --- a/build.gradle +++ b/build.gradle @@ -1,3 +1,5 @@ +import java.time.Duration + import static org.spockframework.gradle.AsciiDocLinkVerifier.verifyAnchorlessCrossDocumentLinks import static org.spockframework.gradle.AsciiDocLinkVerifier.verifyLinksAndAnchors @@ -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) {}