diff options
author | Dimitri John Ledkov <dimitri.ledkov@canonical.com> | 2021-10-08 13:50:13 +0200 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2021-10-09 19:31:27 +0200 |
commit | af7fb6831fbf48f183f01b9d0b8e93773daa0c2a (patch) | |
tree | b592fb973b9320c7fb18c47d7ecea4a64917c33a /test/TEST-50-DISSECT | |
parent | tree-wide: assorted Coccinelle fixes (diff) | |
download | systemd-af7fb6831fbf48f183f01b9d0b8e93773daa0c2a.tar.xz systemd-af7fb6831fbf48f183f01b9d0b8e93773daa0c2a.zip |
test: set 5 minute timeout on TEST-11-ISSUE-3166 and TEST-50-DISSECT
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.
Diffstat (limited to 'test/TEST-50-DISSECT')
-rwxr-xr-x | test/TEST-50-DISSECT/test.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/TEST-50-DISSECT/test.sh b/test/TEST-50-DISSECT/test.sh index 1475659e6e..d8ac512a02 100755 --- a/test/TEST-50-DISSECT/test.sh +++ b/test/TEST-50-DISSECT/test.sh @@ -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 |