From e87e9551d8b97a7ecdf30a657defa6c6ec9796b8 Mon Sep 17 00:00:00 2001
From: =?utf8?q?C=C3=A9dric=20Ollivier?= <cedric.ollivier@orange.com>
Date: Fri, 5 Jun 2020 08:59:49 +0200
Subject: [PATCH] Switch back to concurrency = 4 in tempest testcases
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

3 seems good enough and stable which allows trying 4 as before

Change-Id: Id1f17ebf73f9faa13ed3ceb327ccb4ecf88c2bf2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit c7296454e80cea8273700da13e720e7f357f008e)
---
 docker/healthcheck/testcases.yaml |  2 +-
 docker/smoke-cntt/testcases.yaml  |  8 ++++----
 docker/smoke/testcases.yaml       | 20 +++++++++++---------
 functest/ci/testcases.yaml        | 20 +++++++++++---------
 4 files changed, 27 insertions(+), 23 deletions(-)

diff --git a/docker/healthcheck/testcases.yaml b/docker/healthcheck/testcases.yaml
index d1129da04..c2a66494d 100644
--- a/docker/healthcheck/testcases.yaml
+++ b/docker/healthcheck/testcases.yaml
@@ -161,7 +161,7 @@ tiers:
                     args:
                         mode: '(?=.*\[.*\bsmoke\b.*\])(^tempest\.api)'
                         option:
-                            - '--concurrency=3'
+                            - '--concurrency=4'
 
             -
                 case_name: tempest_horizon
diff --git a/docker/smoke-cntt/testcases.yaml b/docker/smoke-cntt/testcases.yaml
index 9d201c9ba..8d0eee5c3 100644
--- a/docker/smoke-cntt/testcases.yaml
+++ b/docker/smoke-cntt/testcases.yaml
@@ -66,7 +66,7 @@ tiers:
                             (?!.*test_trunk_negative.TrunkTestMtusJSON)\
                             (^neutron_tempest_plugin.api)"
                         option:
-                            - '--concurrency=3'
+                            - '--concurrency=4'
 
             -
                 case_name: tempest_cinder_cntt
@@ -85,7 +85,7 @@ tiers:
                             (?!.*test_consistencygroups)\
                             (^cinder_tempest_plugin.)"
                         option:
-                            - '--concurrency=3'
+                            - '--concurrency=4'
 
             -
                 case_name: tempest_keystone_cntt
@@ -104,7 +104,7 @@ tiers:
                             (?!.*scenario.test_federated_authentication)\
                             keystone_tempest_plugin."
                         option:
-                            - '--concurrency=3'
+                            - '--concurrency=4'
 
             -
                 case_name: tempest_heat_cntt
@@ -219,7 +219,7 @@ tiers:
                           (?!.*test_volumes_extend.VolumesExtendAttachedTest.test_extend_attached_volume)\
                           (?!.*\\[.*\\bslow\\b.*\\])(^tempest.api)"
                         option:
-                            - '--concurrency=3'
+                            - '--concurrency=4'
 
             -
                 case_name: tempest_scenario_cntt
diff --git a/docker/smoke/testcases.yaml b/docker/smoke/testcases.yaml
index 968bd98c1..73f72b3b5 100644
--- a/docker/smoke/testcases.yaml
+++ b/docker/smoke/testcases.yaml
@@ -21,7 +21,7 @@ tiers:
                     args:
                         mode: '^neutron_tempest_plugin\.api'
                         option:
-                            - '--concurrency=3'
+                            - '--concurrency=4'
 
             -
                 case_name: tempest_cinder
@@ -37,7 +37,7 @@ tiers:
                         mode:
                             '(?!.*test_incremental_backup)(^cinder_tempest_plugin.)'
                         option:
-                            - '--concurrency=3'
+                            - '--concurrency=4'
 
             -
                 case_name: tempest_keystone
@@ -52,7 +52,7 @@ tiers:
                     args:
                         mode: 'keystone_tempest_plugin.'
                         option:
-                            - '--concurrency=3'
+                            - '--concurrency=4'
 
             -
                 case_name: tempest_heat
@@ -87,7 +87,7 @@ tiers:
                             - gnocchi
                             - panko
                         option:
-                            - '--concurrency=3'
+                            - '--concurrency=4'
 
             -
                 case_name: rally_sanity
@@ -119,7 +119,7 @@ tiers:
                     args:
                         target: compute
                         option:
-                            - '--concurrency=3'
+                            - '--concurrency=4'
 
             -
                 case_name: refstack_object
@@ -136,7 +136,7 @@ tiers:
                     args:
                         target: object
                         option:
-                            - '--concurrency=3'
+                            - '--concurrency=4'
 
             -
                 case_name: refstack_platform
@@ -153,7 +153,7 @@ tiers:
                     args:
                         target: platform
                         option:
-                            - '--concurrency=3'
+                            - '--concurrency=4'
 
             -
                 case_name: tempest_full
@@ -170,7 +170,7 @@ tiers:
                     args:
                         mode: '(?!.*\[.*\bslow\b.*\])(^tempest\.api)'
                         option:
-                            - '--concurrency=3'
+                            - '--concurrency=4'
 
             -
                 case_name: tempest_scenario
@@ -283,6 +283,8 @@ tiers:
                             '^barbican_tempest_plugin.((?!test_signed_image_upload_boot_failure).)*$'
                         services:
                             - barbican
+                        option:
+                            - '--concurrency=4'
 
             -
                 case_name: tempest_octavia
@@ -303,4 +305,4 @@ tiers:
                         services:
                             - octavia
                         option:
-                            - '--concurrency=3'
+                            - '--concurrency=2'
diff --git a/functest/ci/testcases.yaml b/functest/ci/testcases.yaml
index 4ce9fe5b8..da8e2aa56 100644
--- a/functest/ci/testcases.yaml
+++ b/functest/ci/testcases.yaml
@@ -161,7 +161,7 @@ tiers:
                     args:
                         mode: '(?=.*\[.*\bsmoke\b.*\])(^tempest\.api)'
                         option:
-                            - '--concurrency=3'
+                            - '--concurrency=4'
 
             -
                 case_name: tempest_horizon
@@ -199,7 +199,7 @@ tiers:
                     args:
                         mode: '^neutron_tempest_plugin\.api'
                         option:
-                            - '--concurrency=3'
+                            - '--concurrency=4'
 
             -
                 case_name: tempest_cinder
@@ -215,7 +215,7 @@ tiers:
                         mode:
                             '(?!.*test_incremental_backup)(^cinder_tempest_plugin.)'
                         option:
-                            - '--concurrency=3'
+                            - '--concurrency=4'
 
             -
                 case_name: tempest_keystone
@@ -230,7 +230,7 @@ tiers:
                     args:
                         mode: 'keystone_tempest_plugin.'
                         option:
-                            - '--concurrency=3'
+                            - '--concurrency=4'
 
             -
                 case_name: tempest_heat
@@ -265,7 +265,7 @@ tiers:
                             - gnocchi
                             - panko
                         option:
-                            - '--concurrency=3'
+                            - '--concurrency=4'
 
             -
                 case_name: rally_sanity
@@ -297,7 +297,7 @@ tiers:
                     args:
                         target: compute
                         option:
-                            - '--concurrency=3'
+                            - '--concurrency=4'
 
             -
                 case_name: refstack_object
@@ -314,7 +314,7 @@ tiers:
                     args:
                         target: object
                         option:
-                            - '--concurrency=3'
+                            - '--concurrency=4'
 
             -
                 case_name: refstack_platform
@@ -331,7 +331,7 @@ tiers:
                     args:
                         target: platform
                         option:
-                            - '--concurrency=3'
+                            - '--concurrency=4'
 
             -
                 case_name: tempest_full
@@ -348,7 +348,7 @@ tiers:
                     args:
                         mode: '(?!.*\[.*\bslow\b.*\])(^tempest\.api)'
                         option:
-                            - '--concurrency=3'
+                            - '--concurrency=4'
 
             -
                 case_name: tempest_scenario
@@ -461,6 +461,8 @@ tiers:
                             '^barbican_tempest_plugin.((?!test_signed_image_upload_boot_failure).)*$'
                         services:
                             - barbican
+                        option:
+                            - '--concurrency=4'
 
             -
                 case_name: tempest_octavia
-- 
2.16.6