summaryrefslogtreecommitdiffstats
path: root/functest/ci
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-07-03 15:28:38 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2018-07-08 15:17:01 +0200
commiteb8f57466325f398c6b8b5f4d15005c71879a269 (patch)
tree6f4c2d8498857712d48a7c19e1dffba7b27f47bf /functest/ci
parent4300f0c67b9cb5b75911b0764175044f5e8d3a32 (diff)
Refactor tempest common
It also renames two testcases and updates all docs because tests run in parallel in case of tempest smoke. To force one thread as before: run: module: 'functest.opnfv_tests.openstack.tempest.tempest' class: 'TempestCommon' args: mode: '^tempest\.(api|scenario).*\[.*\bsmoke\b.*\]$' option: - '--concurrency=1' JIRA: FUNCTEST-989 Change-Id: I1348f5908400a5046be8edf983db4afa12e546c3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest/ci')
-rw-r--r--functest/ci/testcases.yaml20
1 files changed, 14 insertions, 6 deletions
diff --git a/functest/ci/testcases.yaml b/functest/ci/testcases.yaml
index 44685a145..60bb4eead 100644
--- a/functest/ci/testcases.yaml
+++ b/functest/ci/testcases.yaml
@@ -233,7 +233,7 @@ tiers:
Set of basic Functional tests to validate the OPNFV scenarios.
testcases:
-
- case_name: tempest_smoke_serial
+ case_name: tempest_smoke
project_name: functest
criteria: 100
blocking: false
@@ -247,7 +247,9 @@ tiers:
scenario: ''
run:
module: 'functest.opnfv_tests.openstack.tempest.tempest'
- class: 'TempestSmokeSerial'
+ class: 'TempestCommon'
+ args:
+ mode: '^tempest\.(api|scenario).*\[.*\bsmoke\b.*\]$'
-
case_name: rally_sanity
@@ -355,8 +357,10 @@ tiers:
installer: '(fuel)|(apex)|(compass)'
scenario: ''
run:
- module: 'functest.opnfv_tests.openstack.tempest.tempest'
+ module: 'functest.opnfv_tests.openstack.trunk.trunk'
class: 'TempestNeutronTrunk'
+ args:
+ mode: 'neutron_tempest_plugin.(api|scenario).test_trunk'
-
case_name: barbican
@@ -371,7 +375,9 @@ tiers:
scenario: ''
run:
module: 'functest.opnfv_tests.openstack.tempest.tempest'
- class: 'TempestBarbican'
+ class: 'TempestCommon'
+ args:
+ mode: 'barbican_tempest_plugin.tests.(api|scenario)'
-
name: features
@@ -469,7 +475,7 @@ tiers:
Extensive testing of OpenStack API.
testcases:
-
- case_name: tempest_full_parallel
+ case_name: tempest_full
project_name: functest
criteria: 80
blocking: false
@@ -482,7 +488,9 @@ tiers:
scenario: ''
run:
module: 'functest.opnfv_tests.openstack.tempest.tempest'
- class: 'TempestFullParallel'
+ class: 'TempestCommon'
+ args:
+ mode: '^tempest\.'
-
case_name: rally_full