tempest: Add serial config
The serial config can be set to True to add the --serial flag to the tempest run. This appears to be useful with the current state of serverstack and fixing tests that fail due to "Bad router request: Router already has a port on subnet <subnet-uuid>."
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user