Skip to content

Commit 40aa4ec

Browse files
committed
Use logical core
1 parent 95ef126 commit 40aa4ec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/release/debian/test_deb_package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
mod_list = [mod for mod in sorted(os.listdir(root_dir)) if os.path.isdir(os.path.join(root_dir, mod)) and mod != '__pycache__']
1313

1414
pytest_base_cmd = '/opt/az/bin/python3 -m pytest -v --forked -p no:warnings --log-level=WARN'
15-
pytest_parallel_cmd = '{} -n auto'.format(pytest_base_cmd)
15+
pytest_parallel_cmd = '{} -n logical'.format(pytest_base_cmd)
1616

1717
# cloud: https://github.com/Azure/azure-cli/pull/14994
1818
# appservice: https://github.com/Azure/azure-cli/pull/19810

scripts/release/rpm/test_rpm_package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
mod_list = [mod for mod in sorted(os.listdir(root_dir)) if os.path.isdir(os.path.join(root_dir, mod)) and mod != '__pycache__']
1313

1414
pytest_base_cmd = f'PYTHONPATH=/usr/lib64/az/lib/{python_version}/site-packages python -m pytest -v --forked -p no:warnings --log-level=WARN'
15-
pytest_parallel_cmd = '{} -n auto'.format(pytest_base_cmd)
15+
pytest_parallel_cmd = '{} -n logical'.format(pytest_base_cmd)
1616

1717
# cloud: https://github.com/Azure/azure-cli/pull/14994
1818
# appservice: https://github.com/Azure/azure-cli/pull/19810

0 commit comments

Comments
 (0)