]> xenbits.xensource.com Git - xenrt-citrix/xenrt.git/commitdiff
Added long haul suite
authorDan Lamping <daniel.lamping@citrix.com>
Thu, 22 Oct 2015 08:33:16 +0000 (09:33 +0100)
committerDan Lamping <daniel.lamping@citrix.com>
Thu, 22 Oct 2015 08:33:16 +0000 (09:33 +0100)
exec/testcases/xenserver/tc/longhaul.py
seqs/creedencelonghaul14vmops.seq
seqs/dundeelonghaul14vmops.seq [new file with mode: 0644]

index de60c9a153ef775c31631e8b9c8e5d9e41abf0bd..65a91125c54c732f7bd1da794e998166201cacf6 100755 (executable)
@@ -123,7 +123,7 @@ class LongHaulTestVmOperations(xenrt.TestCase):
     def prepare(self, arglist):
         
         self.host = self.getDefaultHost() 
-        self.defaultSR = self.host.getLocalSR()       
+        self.defaultSR = self.host.lookupDefaultSR()
         self.guest0 = self.getGuest("VM")
         self.guest1 = self.getGuest("VM_Operations")
         
index 0c1e1ce52b4352539627d7852461b694f8add6ab..9e5bcbf5fee670b8c5e91677f74c446cfd82c0de 100644 (file)
@@ -4,6 +4,7 @@
 
   <variables>
     <PRODUCT_VERSION>Creedence</PRODUCT_VERSION>
+    <OPTION_DEFAULT_SR>yes</OPTION_DEFAULT_SR>
   </variables>
   <scheduler>
     <resources>memory&gt;=12G/memory&lt;=16G/disk1&gt;=200G</resources>
diff --git a/seqs/dundeelonghaul14vmops.seq b/seqs/dundeelonghaul14vmops.seq
new file mode 100644 (file)
index 0000000..b4b1c56
--- /dev/null
@@ -0,0 +1,30 @@
+<xenrt>
+
+  <!-- Long Haul test sequence -->
+  <default name="ISCSIOPTIONS" value="ietvm" />
+  <default name="LONGHAUL_SKU" value="ID" />
+  
+  <prepare>
+    <host id="0">
+      <vm name="VM">
+        <distro>ws12r2-x64</distro>
+        <network device="0" />
+        <postinstall action="installDrivers" />
+      </vm>
+      <vm name="VM_Operations">
+        <distro>ws12r2-x64</distro>
+        <network device="0" />
+        <postinstall action="installDrivers" />
+      </vm>
+      <storage type="lvmoiscsi" name="iscsi" size="300" vmhost="0" options="${ISCSIOPTIONS}" default="true" />
+    </host>
+  </prepare>
+
+  <testsequence>
+    <serial group="{LONGHAUL_SKU}">
+      <testcase id="xenserver.tc.longhaul.LongHaulTestVmOperations" tc="TC-20906" sku="{LONGHAUL_SKU}">
+        <arg>duration=1209600</arg>
+      </testcase>
+    </serial>
+  </testsequence>
+</xenrt>