зеркало из https://github.com/microsoft/lisa.git
Skip the scsi lun check for scsi dct
This commit is contained in:
Родитель
a1358de514
Коммит
73c2f42555
|
@ -711,17 +711,17 @@ class Storage(TestSuite):
|
|||
).is_equal_to(size)
|
||||
|
||||
# verify the lun number from linux VM
|
||||
linux_device_luns_after = disk.get_luns()
|
||||
linux_device_lun_diff = [
|
||||
linux_device_luns_after[k]
|
||||
for k in set(linux_device_luns_after) - set(linux_device_luns)
|
||||
][0]
|
||||
log.debug(f"linux_device_luns: {linux_device_luns}")
|
||||
log.debug(f"linux_device_luns_after: {linux_device_luns_after}")
|
||||
log.debug(f"linux_device_lun_diff: {linux_device_lun_diff}")
|
||||
assert_that(
|
||||
linux_device_lun_diff, "No new device lun found on VM"
|
||||
).is_equal_to(lun)
|
||||
# linux_device_luns_after = disk.get_luns()
|
||||
# linux_device_lun_diff = [
|
||||
# linux_device_luns_after[k]
|
||||
# for k in set(linux_device_luns_after) - set(linux_device_luns)
|
||||
# ][0]
|
||||
# log.debug(f"linux_device_luns: {linux_device_luns}")
|
||||
# log.debug(f"linux_device_luns_after: {linux_device_luns_after}")
|
||||
# log.debug(f"linux_device_lun_diff: {linux_device_lun_diff}")
|
||||
# assert_that(
|
||||
# linux_device_lun_diff, "No new device lun found on VM"
|
||||
# ).is_equal_to(lun)
|
||||
|
||||
# Remove all attached data disks
|
||||
for disk_added in disks_added:
|
||||
|
|
Загрузка…
Ссылка в новой задаче