Skip to content

Commit

Permalink
Merge pull request #1157 from coreycb/tempest-serial
Browse files Browse the repository at this point in the history
tempest: Add serial config
  • Loading branch information
freyes authored Oct 19, 2023
2 parents 18e5b6d + 19d8fc3 commit c866e77
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions zaza/openstack/charm_tests/tempest/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ def run(self):
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')
Expand Down

0 comments on commit c866e77

Please sign in to comment.