From eb8f57466325f398c6b8b5f4d15005c71879a269 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Tue, 3 Jul 2018 15:28:38 +0200 Subject: Refactor tempest common MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- functest/ci/testcases.yaml | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'functest/ci/testcases.yaml') 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 -- cgit 1.2.3-korg