Merge "Set default value of --concurrency to 2"
This commit is contained in:
commit
73268fb6b3
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
[`bug 1948935 <https://bugs.launchpad.net/tempest/+bug/1948935>`_]
|
||||||
|
The default value of account-generator --concurrency parameter is now
|
||||||
|
set to 2 instead of 1.
|
|
@ -81,11 +81,11 @@ Optional Arguments
|
||||||
will have the prefix with the given TAG in its name. Using tag is recommended
|
will have the prefix with the given TAG in its name. Using tag is recommended
|
||||||
for the further using, cleaning resources.
|
for the further using, cleaning resources.
|
||||||
|
|
||||||
* ``-r, --concurrency CONCURRENCY`` (Optional) Concurrency count
|
* ``-r, --concurrency CONCURRENCY`` (Optional) Concurrency count (default: 2).
|
||||||
(default: 1). The number of accounts required can be estimated as
|
The number of accounts generated will be same as CONCURRENCY. The higher the
|
||||||
CONCURRENCY x 2. Each user provided in *accounts.yaml* file will be in
|
number, the more tests will run in parallel. If you want to run tests
|
||||||
a different tenant. This is required to provide isolation between test for
|
sequentially then use 1 as value for concurrency (beware that tests that need
|
||||||
running in parallel.
|
more credentials will fail).
|
||||||
|
|
||||||
* ``--with-admin`` (Optional) Creates admin for each concurrent group
|
* ``--with-admin`` (Optional) Creates admin for each concurrent group
|
||||||
(default: False).
|
(default: False).
|
||||||
|
@ -236,7 +236,7 @@ def _parser_add_args(parser):
|
||||||
dest='tag',
|
dest='tag',
|
||||||
help='Resources tag')
|
help='Resources tag')
|
||||||
parser.add_argument('-r', '--concurrency',
|
parser.add_argument('-r', '--concurrency',
|
||||||
default=1,
|
default=2,
|
||||||
type=positive_int,
|
type=positive_int,
|
||||||
required=False,
|
required=False,
|
||||||
dest='concurrency',
|
dest='concurrency',
|
||||||
|
|
Loading…
Reference in New Issue