From 5b250e57e164fd3955155dcb9128b729c48944a1 Mon Sep 17 00:00:00 2001 From: Tommi Virtanen Date: Thu, 13 Oct 2011 13:35:56 -0700 Subject: [PATCH] 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. --- s3tests/functional/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/s3tests/functional/__init__.py b/s3tests/functional/__init__.py index 5b4a6af..2b25d82 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()