提交 783c6ab5 编写于 作者: X Xiyue Wang

multi_nics_verify: fix no file of lock-server-running

Signed-off-by: NXiyue Wang <xiywang@redhat.com>
上级 8c40e966
......@@ -79,14 +79,13 @@ def run(test, params, env):
if s != 0:
err_msg = "Failed to create ether config file: %s\nReason is: %s"
test.error(err_msg % (eth_config_path, o))
session.close()
# Reboot and check the configurations.
new_session = vm.reboot(session)
s, msg = check_nics_num(nics_num, new_session)
session = vm.reboot(session)
s, msg = check_nics_num(nics_num, session)
if not s:
test.fail(msg)
new_session.close()
session.close()
# NICs matched.
logging.info(msg)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册