Skip the scsi lun check for scsi dct

This commit is contained in:
Kanchan Sen Laskar 2024-09-17 11:27:07 +05:30
Родитель a1358de514
Коммит 73c2f42555
1 изменённых файлов: 11 добавлений и 11 удалений

Просмотреть файл

@ -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: