summary refs log tree commit diff stats
path: root/tests/vm/basevm.py
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2025-03-04 22:24:19 +0000
committerAlex Bennée <alex.bennee@linaro.org>2025-03-10 10:30:00 +0000
commit830bbfb965274c2ac577420d28c7adecf8a39fd0 (patch)
tree251854a21ae59e29553dc61c8fcec2f829e23af1 /tests/vm/basevm.py
parent4748be5e9df56e13045c0f76fe9f60fa7655fed7 (diff)
downloadfocaccia-qemu-830bbfb965274c2ac577420d28c7adecf8a39fd0.tar.gz
focaccia-qemu-830bbfb965274c2ac577420d28c7adecf8a39fd0.zip
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 <thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20250304222439.2035603-13-alex.bennee@linaro.org>
Diffstat (limited to 'tests/vm/basevm.py')
-rw-r--r--tests/vm/basevm.py2
1 files changed, 1 insertions, 1 deletions
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.