[Swift-commit] r7691 - branches/release-0.94/tests/stress/random_fail

yadunandb at ci.uchicago.edu yadunandb at ci.uchicago.edu
Tue Mar 11 13:34:47 CDT 2014


Author: yadunandb
Date: 2014-03-11 13:34:47 -0500 (Tue, 11 Mar 2014)
New Revision: 7691

Modified:
   branches/release-0.94/tests/stress/random_fail/rand_fail_Bug1067.swift
   branches/release-0.94/tests/stress/random_fail/sites.template.xml
   branches/release-0.94/tests/stress/random_fail/tc.template.data
Log:
Updating test for failure status

Modified: branches/release-0.94/tests/stress/random_fail/rand_fail_Bug1067.swift
===================================================================
--- branches/release-0.94/tests/stress/random_fail/rand_fail_Bug1067.swift	2014-03-11 18:12:47 UTC (rev 7690)
+++ branches/release-0.94/tests/stress/random_fail/rand_fail_Bug1067.swift	2014-03-11 18:34:47 UTC (rev 7691)
@@ -1,5 +1,11 @@
 type file;
 
+
+/*
+ * The status of the test is determined by the check script.
+ * The swift run itself will fail
+ */
+//THIS-SCRIPT-SHOULD-FAIL
 file script<"randfail.sh">;
 
 app (file ofile1, file ofile2) quicklyFailingApp(file script, int failchance,

Modified: branches/release-0.94/tests/stress/random_fail/sites.template.xml
===================================================================
--- branches/release-0.94/tests/stress/random_fail/sites.template.xml	2014-03-11 18:12:47 UTC (rev 7690)
+++ branches/release-0.94/tests/stress/random_fail/sites.template.xml	2014-03-11 18:34:47 UTC (rev 7691)
@@ -2,7 +2,7 @@
 <config xmlns="http://www.ci.uchicago.edu/swift/SwiftSites">
 
   <pool handle="midway">
-    <execution provider="coaster" jobmanager="local:local"/>
+    <execution provider="coaster" jobmanager="local:slurm"/>
     <profile namespace="globus" key="queue">sandyb</profile>
     <profile namespace="globus" key="jobsPerNode">16</profile>
     <profile namespace="globus" key="maxtime">36000</profile>
@@ -14,6 +14,7 @@
     <profile namespace="globus" key="nodeGranularity">1</profile>
     <profile namespace="karajan" key="jobThrottle">.64</profile>
     <profile namespace="karajan" key="initialScore">10000</profile>
+    <filesystem provider="local"/>
     <workdirectory>/tmp/MIDWAY_USERNAME</workdirectory>
   </pool>
 

Modified: branches/release-0.94/tests/stress/random_fail/tc.template.data
===================================================================
--- branches/release-0.94/tests/stress/random_fail/tc.template.data	2014-03-11 18:12:47 UTC (rev 7690)
+++ branches/release-0.94/tests/stress/random_fail/tc.template.data	2014-03-11 18:34:47 UTC (rev 7691)
@@ -1,2 +1,3 @@
-local perl /usr/bin/perl null null null
-local sh   /bin/bash
+local   perl    /usr/bin/perl null null null
+local   sh   /bin/bash
+midway  sh  /bin/bash
\ No newline at end of file




More information about the Swift-commit mailing list