]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: set 5 minute timeout on TEST-11-ISSUE-3166 and TEST-50-DISSECT
authorDimitri John Ledkov <dimitri.ledkov@canonical.com>
Fri, 8 Oct 2021 11:50:13 +0000 (12:50 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Sat, 9 Oct 2021 17:31:27 +0000 (18:31 +0100)
When they work they finish quickly in under two minutes on slow machines, when
soft lock ups happen in the nested virt machine each test can run for like 5
hours clogging up CI infrastructure. It's best to fail quicker than that when
qemu or kernel are broken.

test/TEST-11-ISSUE-3166/test.sh
test/TEST-50-DISSECT/test.sh

index 15ecbe51a31223fbdd818422bccb50065439d0cb..ba751853f9f313fe01bc1faab2347a5a667d768c 100755 (executable)
@@ -7,4 +7,6 @@ TEST_NO_NSPAWN=1
 # shellcheck source=test/test-functions
 . "${TEST_BASE_DIR:?}/test-functions"
 
+QEMU_TIMEOUT=300
+
 do_test "$@"
index 1475659e6ecfc0a88f8716b4bd3fced9e3e2df7f..d8ac512a026539be4dee58456f7f6dca2112a350 100755 (executable)
@@ -11,6 +11,8 @@ TEST_INSTALL_VERITY_MINIMAL=1
 # shellcheck source=test/test-functions
 . "${TEST_BASE_DIR:?}/test-functions"
 
+QEMU_TIMEOUT=300
+
 command -v mksquashfs >/dev/null 2>&1 || exit 0
 command -v veritysetup >/dev/null 2>&1 || exit 0
 command -v sfdisk >/dev/null 2>&1 || exit 0