From: Alex Bennée Date: Tue, 4 Mar 2025 22:24:19 +0000 (+0000) Subject: tests/vm: bump timeout for shutdown X-Git-Tag: v10.0.0-rc0~16^2~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=830bbfb965274c2ac577420d28c7adecf8a39fd0;p=thirdparty%2Fqemu.git tests/vm: bump timeout for shutdown 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 Signed-off-by: Alex Bennée Message-Id: <20250304222439.2035603-13-alex.bennee@linaro.org> --- diff --git a/tests/vm/basevm.py b/tests/vm/basevm.py index 6d41ac7574..9e879e966a 100644 --- a/tests/vm/basevm.py +++ b/tests/vm/basevm.py @@ -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.