提交 e0f607b7 编写于 作者: L Lukáš Doktor 提交者: Lucas Meneghel Rodrigues

qemu.tests.virtio_console: Reconnect guest worker in migrate test

Before we can cleanup after migrate test the guest worker has to
reconnect to the current VM. The session itself works fine
as the VM was migrated, but the VM object is different and reports
non-living VM, which results in impropper cleanup.
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
上级 304bc784
......@@ -1424,6 +1424,7 @@ def run_virtio_console(test, params, env):
raise error.TestFail(msg)
# CLEANUP
guest_worker.reconnect(vm)
guest_worker.safe_exit_loopback_threads([ports[0]], ports[1:])
for thread in threads:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册