]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
tests/vm: bump timeout for shutdown
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 4 Mar 2025 22:24:19 +0000 (22:24 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Mon, 10 Mar 2025 10:30:00 +0000 (10:30 +0000)
On my fairly beefy machine the timeout was triggering leaving a
corrupted disk image due to power being pulled before the disk had
synced. Triple the timeout to avoid this.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20250304222439.2035603-13-alex.bennee@linaro.org>

tests/vm/basevm.py

index 6d41ac7574342839da3b15033359817a73ff3578..9e879e966a360bdb7af7a1af21773e4e7c3472f9 100644 (file)
@@ -83,7 +83,7 @@ class BaseVM(object):
     # command to halt the guest, can be overridden by subclasses
     poweroff = "poweroff"
     # Time to wait for shutdown to finish.
-    shutdown_timeout_default = 30
+    shutdown_timeout_default = 90
     # enable IPv6 networking
     ipv6 = True
     # This is the timeout on the wait for console bytes.