Add concurrency parameter to refstack_defcore tests 71/61671/1
authorDimitrios Markou <mardim@intracom-telecom.com>
Wed, 29 Aug 2018 12:03:40 +0000 (15:03 +0300)
committerCedric Ollivier <cedric.ollivier@orange.com>
Fri, 31 Aug 2018 14:36:34 +0000 (14:36 +0000)
In fraser release we observed that refstack tests are executed in parallel
and that might causes problems in CI because without concurrency
parameter it will try to use as many cpus as possible and that might
lead to race condition issues.

This patch is created for backporting purposes to fraser branch
where the problem occurs.

JIRA: DOVETAIL-662

Change-Id: I6cf0ad3a32e88f04abd00d69523aa8ac47c39470
Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
(cherry picked from commit d5c3692d211cb3e82708eaf2595ba3f26fafc6a6)

docker/smoke/testcases.yaml
functest/ci/testcases.yaml

index 68ddaea..f3a9fdf 100644 (file)
@@ -90,6 +90,9 @@ tiers:
                     module:
                         'functest.opnfv_tests.openstack.refstack.refstack'
                     class: 'Refstack'
+                    args:
+                        option:
+                            - '--concurrency=4'
 
             -
                 case_name: patrole
index 22ede2e..7bb88be 100644 (file)
@@ -152,6 +152,9 @@ tiers:
                     module:
                         'functest.opnfv_tests.openstack.refstack.refstack'
                     class: 'Refstack'
+                    args:
+                        option:
+                            - '--concurrency=4'
 
             -
                 case_name: patrole