未验证 提交 9271db6a 编写于 作者: Y Yanan Fu 提交者: GitHub

Merge pull request #2102 from yanan-fu/nested

nested_test: Fix get L1 guest ip address failed issue
......@@ -40,7 +40,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.
先完成此消息的编辑!
想要评论请 注册