Merge pull request #1157 from coreycb/tempest-serial

tempest: Add serial config
This commit is contained in:
Felipe Reyes
2023-10-19 15:50:23 -03:00
committed by GitHub

View File

@@ -81,6 +81,9 @@ class TempestTestBase():
tempest_options.extend(
['--concurrency',
str(config.get('concurrency', min(os.cpu_count(), 4)))])
serial = config.get('serial')
if serial and serial is True:
tempest_options.extend(['--serial'])
with tempfile.TemporaryDirectory() as tmpdirname:
if config.get('include-list'):
include_file = os.path.join(tmpdirname, 'include.cfg')