Update specs to v. 2014.1.b3
[openstack-build/neutron-build.git] / debian / patches / use-concurrency.patch
diff --git a/debian/patches/use-concurrency.patch b/debian/patches/use-concurrency.patch
new file mode 100644 (file)
index 0000000..203110a
--- /dev/null
@@ -0,0 +1,19 @@
+Description: Use concurrency of 4.
+Author: Chuck Short <zulcss@ubuntu.com>
+Fowarded: Not needed.
+diff --git a/run_tests.sh b/run_tests.sh
+index 4d838e8..6739fee 100755
+--- a/run_tests.sh
++++ b/run_tests.sh
+@@ -129,7 +129,7 @@ function run_tests {
+   # Just run the test suites in current environment
+   set +e
+   testrargs=`echo "$testrargs" | sed -e's/^\s*\(.*\)\s*$/\1/'`
+-  TESTRTESTS="$TESTRTESTS --testr-args='--subunit $testropts $testrargs'"
++  TESTRTESTS="$TESTRTESTS --testr-args='--subunit --concurrency 4 $testropts $testrargs'"
+   echo "Running \`${wrapper} $TESTRTESTS\`"
+   bash -c "${wrapper} $TESTRTESTS | ${wrapper} subunit2pyunit"
+   RESULT=$?
+-- 
+1.9.0
+