提交 122008b5 编写于 作者: Y Yanan Fu

nested_test: Fix get L1 guest ip address failed issue

use vm.wait_for_get_address replace vm.get_address, and
set timeout value to 240s
Signed-off-by: NYanan Fu <yfu@redhat.com>
上级 20c25a61
......@@ -39,7 +39,7 @@ def run(test, params, env):
vms = get_live_vms(env)
tmp_dir = virttest_data_dir.get_tmp_dir()
file_name = "inventory_file"
ip_lst = list(map(lambda v: v.get_address(0), vms))
ip_lst = list(map(lambda v: v.wait_for_get_address(0, 240), vms))
invent_file = open(os.path.join(tmp_dir, file_name), "w")
invent_file.writelines(ip_lst)
invent_file.close()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册