From e37fabac67d0aab5145ad5371b83d75538b49636 Mon Sep 17 00:00:00 2001 From: Wouter Born Date: Wed, 3 Nov 2021 21:15:31 +0100 Subject: [PATCH] Configure default timeout of 15 minutes for all testable and lifecycle methods (#11505) This helps to identify what tests cause builds to get stuck and it will more quickly end such builds. When builds get stuck in tests, they would keep running for hours and then eventually when a timeout occurs, the job is killed without knowing why it got stuck. Furhermore precious Jenkins executors will not keep being occupied by such jobs. See: https://junit.org/junit5/docs/current/user-guide/#writing-tests-declarative-timeouts It helps with identifying the root cause of issues like https://github.com/openhab/openhab-core/pull/2551 Signed-off-by: Wouter Born --- pom.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pom.xml b/pom.xml index 071cb0355..ba3b31ff6 100644 --- a/pom.xml +++ b/pom.xml @@ -380,6 +380,11 @@ Import-Package: \\ org.apache.maven.plugins maven-surefire-plugin 3.0.0-M5 + + + 15 m + +