]> git-server-git.apps.pok.os.sepia.ceph.com Git - s3-tests.git/commitdiff
Let nose run s3tests in parallel.
authorTommi Virtanen <tommi.virtanen@dreamhost.com>
Thu, 13 Oct 2011 20:35:56 +0000 (13:35 -0700)
committerTommi Virtanen <tommi.virtanen@dreamhost.com>
Thu, 13 Oct 2011 20:35:56 +0000 (13:35 -0700)
This decreases the run time significantly.

Unfortunately, there seem to be cleanup-related bugs
in parallel runs for now. It's not safe to actually
run with --processes=N >1 yet, but at least the right
magic incantation is now recorded.

s3tests/functional/__init__.py

index 5b4a6afd7b5963ab3c3cf70fc278c7a7e021d727..2b25d821248540b213c5325256ba188d10142791 100644 (file)
@@ -71,6 +71,9 @@ def nuke_prefixed_buckets(prefix):
     print 'Done with cleanup of test buckets.'
 
 
+# nosetests --processes=N with N>1 is safe
+_multiprocess_can_split_ = True
+
 def setup():
 
     cfg = ConfigParser.RawConfigParser()