]> xenbits.xensource.com Git - xenrt-citrix/xenrt.git/commitdiff
Update non-multipath testcase
authorJohn Dilley <john.dilley@citrix.com>
Tue, 17 Nov 2015 15:45:36 +0000 (15:45 +0000)
committerJohn Dilley <john.dilley@citrix.com>
Tue, 17 Nov 2015 15:45:36 +0000 (15:45 +0000)
exec/testcases/xenserver/tc/install.py

index c9a5404950a2d2bc909fd4be9698601ec49881f5..b83b1983b5ed41020300083a9bc2f68eba7b20f1 100755 (executable)
@@ -80,6 +80,9 @@ class TC9352(_HostInstall):
 
     ISCSI_SR_MULTIPATHED = True
 
+    def prepare(self, arglist=None):
+        xenrt.TEC().config.setVariable("FORCE_NO_ROOT_MPATH", "yes") 
+
     def postInstall(self):
         # Create a FC SR on another LUN
         self.fcLun = xenrt.HBALun([self.host])
@@ -367,7 +370,7 @@ class TC12209(TC9352):
     ISCSI_SR_MULTIPATHED = False
     
     def prepare(self, arglist=None):
-        xenrt.TEC().config.setVariable("OPTION_ROOT_MPATH", "") 
+        xenrt.TEC().config.setVariable("FORCE_NO_ROOT_MPATH", "yes") 
 
     def postInstall(self):
         self.scsiid = string.split(self.host.lookup("OPTION_CARBON_DISKS", None), "scsi-")[1]