From: Tommi Virtanen Date: Thu, 13 Oct 2011 20:35:56 +0000 (-0700) Subject: Let nose run s3tests in parallel. X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5b250e57e164fd3955155dcb9128b729c48944a1;p=s3-tests.git Let nose run s3tests in parallel. 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. --- diff --git a/s3tests/functional/__init__.py b/s3tests/functional/__init__.py index 5b4a6afd..2b25d821 100644 --- a/s3tests/functional/__init__.py +++ b/s3tests/functional/__init__.py @@ -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()