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
diff --git a/tempest/cmd/run.py b/tempest/cmd/run.py
index a8ef08c..823ed11 100644
--- a/tempest/cmd/run.py
+++ b/tempest/cmd/run.py
@@ -252,7 +252,7 @@
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()