File concurrency_int_type.patch of Package openstack-tempest
From a7c4c14493d9c20fb89daa5e094d6396a6cbe80d Mon Sep 17 00:00:00 2001
From: Tony Breeds <tony@bakeyournoodle.com>
Date: Mon, 4 Mar 2019 11:34:33 +1100
Subject: [PATCH] stestr expects --concurrency to be an int
Change-Id: Ia56c182287510ffbaee412b6e2a3b1eb5ad510e0
Related: https://github.com/mtreinish/stestr/issues/231
---
tempest/cmd/run.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tempest/cmd/run.py b/tempest/cmd/run.py
index 3e84b82aa1..a8ef08c475 100644
--- a/tempest/cmd/run.py
+++ b/tempest/cmd/run.py
@@ -252,6 +252,7 @@ def _add_args(self, parser):
default=False)
# execution args
parser.add_argument('--concurrency', '-w',
+ type=int,
help="The number of workers to use, defaults to "
"the number of cpus")
parallel = parser.add_mutually_exclusive_group()