test: Increase qemu timeout from 90s to 180s
The usage of an initrd made TEST-09-ISSUE-2691 more likely to fail with a timeout, so increase the timeout by 90s and adjust TimeoutStopSec= accordingly.
This commit is contained in:
parent
4d7293f07c
commit
48c20af38e
|
@ -6,7 +6,7 @@ TEST_DESCRIPTION="https://github.com/systemd/systemd/issues/2691"
|
||||||
TEST_NO_NSPAWN=1
|
TEST_NO_NSPAWN=1
|
||||||
|
|
||||||
. $TEST_BASE_DIR/test-functions
|
. $TEST_BASE_DIR/test-functions
|
||||||
QEMU_TIMEOUT=90
|
QEMU_TIMEOUT=180
|
||||||
|
|
||||||
test_setup() {
|
test_setup() {
|
||||||
create_empty_image
|
create_empty_image
|
||||||
|
@ -31,7 +31,7 @@ Type=oneshot
|
||||||
ExecStart=/bin/sh -c '>/testok'
|
ExecStart=/bin/sh -c '>/testok'
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
ExecStop=/bin/sh -c 'kill -SEGV $$$$'
|
ExecStop=/bin/sh -c 'kill -SEGV $$$$'
|
||||||
TimeoutStopSec=180s
|
TimeoutStopSec=270s
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
setup_testsuite
|
setup_testsuite
|
||||||
|
|
Loading…
Reference in New Issue