[stable-2.11] ansible-test - Use `--forked` instead of `--boxed`

The `--boxed` option is deprecated..
(cherry picked from commit eaeec8a65c)

Co-authored-by: Matt Clay <matt@mystile.com>
pull/77123/head
Matt Clay 4 years ago
parent d6b6c95498
commit 1b57ccb7a9

@ -0,0 +1,2 @@
bugfixes:
- ansible-test - Update unit tests to use the ``--forked`` option instead of the deprecated ``--boxed`` option.

@ -4,5 +4,6 @@ mock
pytest
pytest-mock
pytest-xdist
pytest-forked
pyyaml
resolvelib

@ -95,7 +95,7 @@ def command_units(args):
cmd = [
'pytest',
'--boxed',
'--forked',
'-r', 'a',
'-n', str(args.num_workers) if args.num_workers else 'auto',
'--color',

Loading…
Cancel
Save