提交 b729aae0 编写于 作者: Y Yingshun Cui

Extend timeout for verifying IP address of migrated VM

It usually takes more time in testing. To avoid this error,
extend it to 240s.
Signed-off-by: NYingshun Cui <yicui@redhat.com>
上级 e01d2dd5
......@@ -90,10 +90,10 @@ class MigrationTest(object):
server_session = test_setup.remote_session(params)
# after migration VM would take some time to respond and to
# avoid the race of framework querying IP address before VM
# starts responding, provide timeout for 120 seconds to retry
# starts responding, provide timeout for 240 seconds to retry
# and raise if VM fails to respond
vm_ip[vm.name] = vm.get_address(session=server_session,
timeout=120)
timeout=240)
logging.info("Check VM network connectivity after migrating")
else:
logging.info("Check VM network connectivity before migration")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册