提交 460fdf91 编写于 作者: A Amos Kong 提交者: Lucas Meneghel Rodrigues

virtio_console: adjust the hardcode timeout to 720

Use a experienced reboot timeout 720.
Signed-off-by: NAmos Kong <akong@redhat.com>
上级 96af0a1d
......@@ -1781,7 +1781,7 @@ def run_virtio_console(test, params, env):
try:
vm.reboot(session=session,
method=params.get('virtio_console_method', 'shell'),
timeout=360)
timeout=720)
except Exception, details:
for proces in process:
proces.terminate()
......@@ -1825,7 +1825,7 @@ def run_virtio_console(test, params, env):
try:
vm.reboot(session=session,
method=params.get('virtio_console_method', 'shell'),
timeout=360)
timeout=720)
except Exception, details:
raise error.TestFail("Fail to reboot VM:\n%s" % details)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册