зеркало из https://github.com/microsoft/lisa.git
Comment scsi dtc specific checks
This commit is contained in:
Родитель
681f5bd063
Коммит
16808e4bc4
|
@ -714,18 +714,18 @@ class Storage(TestSuite):
|
|||
f" size should be equal to {size} GB",
|
||||
).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)
|
||||
# # 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)
|
||||
|
||||
# Remove all attached data disks
|
||||
for disk_added in disks_added:
|
||||
|
|
Загрузка…
Ссылка в новой задаче