From 91526cd9f249f31787309e59235193288282d378 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Tue, 7 Feb 2017 16:08:19 -0800 Subject: [PATCH] Enable process isolation for unit tests. --- test/runner/lib/executor.py | 1 + test/runner/requirements/units.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/test/runner/lib/executor.py b/test/runner/lib/executor.py index 544259bb13..6cdb767b0f 100644 --- a/test/runner/lib/executor.py +++ b/test/runner/lib/executor.py @@ -624,6 +624,7 @@ def command_units(args): cmd = [ 'pytest', + '--boxed', '-r', 'a', '--color', 'yes' if args.color else 'no', diff --git a/test/runner/requirements/units.txt b/test/runner/requirements/units.txt index 3d7f91211f..a61fc9ce7f 100644 --- a/test/runner/requirements/units.txt +++ b/test/runner/requirements/units.txt @@ -6,6 +6,7 @@ passlib pycrypto pytest pytest-mock +pytest-xdist python-memcached pyyaml redis