Set concurrency default value
This commit sets the default value 0 for tempest run command. Because stestr's run_command() requires an int value for that, but we passes `None` if users don't specify a concurrency value. We found that behavior with recent stestr change[0]. But we also have the bug in tempest side. [0] https://github.com/mtreinish/stestr/issues/231 Change-Id: I83f76acb6a106f7401904a910a5dced47c2db839
This commit is contained in:
parent
57491eaa7e
commit
13c588373c
|
@ -252,7 +252,7 @@ class TempestRun(command.Command):
|
|||
default=False)
|
||||
# execution args
|
||||
parser.add_argument('--concurrency', '-w',
|
||||
type=int,
|
||||
type=int, default=0,
|
||||
help="The number of workers to use, defaults to "
|
||||
"the number of cpus")
|
||||
parallel = parser.add_mutually_exclusive_group()
|
||||
|
|
Loading…
Reference in New Issue