ansible-test - Use `--forked` instead of `--boxed`

The `--boxed` option is deprecated.
pull/76683/head
Matt Clay 2 years ago
parent 97104f1221
commit eaeec8a65c

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

@ -2,4 +2,5 @@ mock
pytest
pytest-mock
pytest-xdist
pytest-forked
pyyaml # required by the collection loader (only needed for collections)

@ -237,7 +237,7 @@ def command_units(args): # type: (UnitsConfig) -> None
for test_context, python, paths, env in test_sets:
cmd = [
'pytest',
'--boxed',
'--forked',
'-r', 'a',
'-n', str(args.num_workers) if args.num_workers else 'auto',
'--color',

Loading…
Cancel
Save