Skip to content

Commit

Permalink
{CI} pytest: --boxed argument is deprecated, use --forked instead (Az…
Browse files Browse the repository at this point in the history
  • Loading branch information
wangzelin007 authored Oct 26, 2022
1 parent d91239f commit da19747
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion azdev/operations/testtool/pytest_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def _run(test_paths, pytest_args):
logger = get_logger(__name__)

if os.name == 'posix':
arguments = ['-x', '-v', '--boxed', '-p no:warnings', '--log-level=WARN', '--junit-xml', log_path]
arguments = ['-x', '-v', '--forked', '-p no:warnings', '--log-level=WARN', '--junit-xml', log_path]
else:
arguments = ['-x', '-v', '-p no:warnings', '--log-level=WARN', '--junit-xml', log_path]

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
'knack',
'pylint==2.11.1',
'pytest-xdist', # depends on pytest-forked
'pytest-forked',
'pytest>=5.0.0',
'pyyaml',
'requests',
Expand Down

0 comments on commit da19747

Please sign in to comment.