mirror of
https://github.com/systemd/systemd.git
synced 2024-12-30 12:33:50 +08:00
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.
This commit is contained in:
parent
b98416e100
commit
af7fb6831f
@ -7,4 +7,6 @@ TEST_NO_NSPAWN=1
|
|||||||
# shellcheck source=test/test-functions
|
# shellcheck source=test/test-functions
|
||||||
. "${TEST_BASE_DIR:?}/test-functions"
|
. "${TEST_BASE_DIR:?}/test-functions"
|
||||||
|
|
||||||
|
QEMU_TIMEOUT=300
|
||||||
|
|
||||||
do_test "$@"
|
do_test "$@"
|
||||||
|
@ -11,6 +11,8 @@ TEST_INSTALL_VERITY_MINIMAL=1
|
|||||||
# shellcheck source=test/test-functions
|
# shellcheck source=test/test-functions
|
||||||
. "${TEST_BASE_DIR:?}/test-functions"
|
. "${TEST_BASE_DIR:?}/test-functions"
|
||||||
|
|
||||||
|
QEMU_TIMEOUT=300
|
||||||
|
|
||||||
command -v mksquashfs >/dev/null 2>&1 || exit 0
|
command -v mksquashfs >/dev/null 2>&1 || exit 0
|
||||||
command -v veritysetup >/dev/null 2>&1 || exit 0
|
command -v veritysetup >/dev/null 2>&1 || exit 0
|
||||||
command -v sfdisk >/dev/null 2>&1 || exit 0
|
command -v sfdisk >/dev/null 2>&1 || exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user