mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-28 17:57:25 +03:00
tests: set NSPAWN_TIMEOUT and QEMU_TIMEOUT explicitly
These were never set explictily because we relied on Travis CI canceling a job if it's been stuck for 10 minutes. Now that the script is run on Azure Pipelines (where the default timeout is 60 minutes) we should limit the script manually to avoid waiting for an hour for broken jobs to finish.
This commit is contained in:
parent
5de55cc865
commit
bedae21ec5
@ -15,9 +15,10 @@ sed -i 's/2\.30/2.27/' meson.build
|
||||
|
||||
meson --werror -Db_sanitize=address,undefined -Dsplit-usr=true build
|
||||
ninja -v -C build
|
||||
make -C test/TEST-01-BASIC clean setup run TEST_NO_QEMU=yes NSPAWN_ARGUMENTS=--keep-unit RUN_IN_UNPRIVILEGED_CONTAINER=no
|
||||
|
||||
make -C test/TEST-01-BASIC clean setup run NSPAWN_TIMEOUT=600 TEST_NO_QEMU=yes NSPAWN_ARGUMENTS=--keep-unit RUN_IN_UNPRIVILEGED_CONTAINER=no
|
||||
|
||||
# Now that we're more or less sure that ASan isn't going to crash systemd and cause a kernel panic
|
||||
# let's also run the test with QEMU to cover udevd, sysctl and everything else that isn't run
|
||||
# in containers.
|
||||
make -C test/TEST-01-BASIC clean setup run TEST_NO_NSPAWN=yes
|
||||
make -C test/TEST-01-BASIC clean setup run QEMU_TIMEOUT=900 TEST_NO_NSPAWN=yes
|
||||
|
Loading…
x
Reference in New Issue
Block a user