提交 c1b24242 编写于 作者: S Sebastian Mitterle

Retry scsi_debug unload on tear down

scsi_debug module might still be in use when trying to unload for
the first time in test tear down.
Wait for it like shown in commit 6f2bbce4Signed-off-by: NSebastian Mitterle <smitterl@redhat.com>
上级 63bb82cc
......@@ -2004,7 +2004,8 @@ def run(test, params, env):
del img["disk_dev"]
else:
if img["format"] == "scsi":
libvirt.delete_scsi_disk()
utils_misc.wait_for(libvirt.delete_scsi_disk,
120, ignore_errors=True)
elif img["format"] == "iscsi" or network_iscsi_baseimg:
libvirt.setup_or_cleanup_iscsi(is_setup=False)
# Clean up secret
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册