]> git.basschouten.com Git - openhab-addons.git/commit
Configure default timeout of 15 minutes for all testable and lifecycle methods (...
authorWouter Born <github@maindrain.net>
Wed, 3 Nov 2021 20:15:31 +0000 (21:15 +0100)
committerGitHub <noreply@github.com>
Wed, 3 Nov 2021 20:15:31 +0000 (21:15 +0100)
commite37fabac67d0aab5145ad5371b83d75538b49636
tree40ccc3b7c924b2b4d8f3c0b909d43a672002a2d2
parent93fe919f49c7878a3de1295a88aab42915c2a793
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 <github@maindrain.net>
pom.xml