Comment scsi dtc specific checks

This commit is contained in:
Kanchan Sen Laskar 2024-08-09 14:43:08 +05:30 коммит произвёл SrikanthMyakam
Родитель 681f5bd063
Коммит 16808e4bc4
1 изменённых файлов: 12 добавлений и 12 удалений

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

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