def postRun(self):
if self.iscsiSR:
self.iscsiSR.release()
- if self.fcLun:
- self.fcLun.release()
+ if self.fcSR:
+ self.fcSR.forget() # which eventually release the LUN as well.
class TC12059(TC9352):
"""Install to a server with a boot disk on a SAN via Emulex HBAs with multipath root disk and single path SR"""
step("Cleaning up")
self.pool.disableHA()
- lun.release()
+ hba.forget() # which eventually release the LUN as well.
class TC18373(LunPerVDI):
"""Verify whether DR feature works with LUN/VDI SR"""