Reduce parallelization in tests

Recent changes have produced an increase in contention-related test
failures, reduce the parallelization to see if this improves.

Change-Id: Ie5e7ec0484e6fa34fb34ecb69c8be7daf49b599b
This commit is contained in:
James E. Blair 2025-01-11 15:42:28 -08:00
parent 7b35a1ae18
commit 700a4a191c

View File

@ -91,7 +91,7 @@ def tests(session):
session.install('-e', '.')
session.run_always('tools/yarn-build.sh', external=True)
session.run_always('zuul-manage-ansible', '-v')
procs = max(int(multiprocessing.cpu_count() * 0.75), 1)
procs = max(int(multiprocessing.cpu_count() * 0.7), 1)
session.run('stestr', 'run', '--slowest', f'--concurrency={procs}',
*session.posargs)