]> xenbits.xensource.com Git - xenrt-citrix/xenrt.git/commitdiff
Handling the HBA LUN as a resource in SAN tests
authorVinod Pademar <vinod.pademar@citrix.com>
Tue, 10 Nov 2015 13:58:42 +0000 (13:58 +0000)
committerVinod Pademar <vinod.pademar@citrix.com>
Tue, 10 Nov 2015 13:58:42 +0000 (13:58 +0000)
exec/testcases/xenserver/tc/install.py
exec/testcases/xenserver/tc/lunpervdi.py

index 6a0598e9d511948c3234e62b48059d363d59b106..89ff5830cadca2b5d7d7d1751ae1d08e70858e71 100755 (executable)
@@ -182,8 +182,8 @@ class TC9352(_HostInstall):
     def postRun(self):
         if self.iscsiSR:
             self.iscsiSR.release()
-        if self.fcSR:
-            self.fcSR.release()
+        if self.fcLun:
+            self.fcLun.release()
                 
 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"""
index fcc3fd27f236ac3c771cfd7bec91831d32b9a4ef..43e1d35443cd3415257790519345b920e1024fa6 100755 (executable)
@@ -995,7 +995,7 @@ class TC18372(LunPerVDI):
 
         step("Cleaning up")  
         self.pool.disableHA()
-        hba.release()
+        lun.release()
 
 class TC18373(LunPerVDI):
     """Verify whether DR feature works with LUN/VDI SR"""