Skip to content

Commit 4845497

Browse files
committed
vmtest: Set the default start timeout to 1800s
This code is imported from unknown places, some setting the timeout and others not setting it. This has resulted in playing whack-a-mole with the timeout override so let's set it long and if a user wants a shorter timeout they can override it.
1 parent 915e4a1 commit 4845497

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/scripts/vmtest/vm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ def _gen_qemu_cmdline(self, snapshot, use_ovmf):
255255
return qemu_cmdline
256256

257257
# XXX: move args to init() so that __enter__ can use them?
258-
def start(self, wait_event="ssh", snapshot=True, use_ovmf=False, timeout_sec=120):
258+
def start(self, wait_event="ssh", snapshot=True, use_ovmf=False, timeout_sec=1800):
259259
if self.running():
260260
return
261261
self._ssh_port = get_free_port()

0 commit comments

Comments
 (0)