Merge "Default concurrency to 0 to avoid TypeError in stestr"

This commit is contained in:
Zuul 2019-06-02 13:50:53 +00:00 committed by Gerrit Code Review
commit 0d8c307859
1 changed files with 1 additions and 0 deletions

View File

@ -91,6 +91,7 @@ def get_parser(args):
parallel.add_argument('--serial', dest='parallel', action='store_false',
help='Run tests serially')
parser.add_argument('--concurrency', '-c', type=int, metavar='WORKERS',
default=0,
help='The number of workers to use when running in '
'parallel. By default this is the number of cpus')
parser.add_argument('--until-failure', action='store_true',