diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-07-03 15:28:38 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-07-08 15:17:01 +0200 |
commit | eb8f57466325f398c6b8b5f4d15005c71879a269 (patch) | |
tree | 6f4c2d8498857712d48a7c19e1dffba7b27f47bf /docker/smoke | |
parent | 4300f0c67b9cb5b75911b0764175044f5e8d3a32 (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 'docker/smoke')
-rw-r--r-- | docker/smoke/testcases.yaml | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/docker/smoke/testcases.yaml b/docker/smoke/testcases.yaml index 5a93a1d7c..3bfca8686 100644 --- a/docker/smoke/testcases.yaml +++ b/docker/smoke/testcases.yaml @@ -8,7 +8,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 @@ -22,7 +22,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 @@ -130,8 +132,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 @@ -146,4 +150,6 @@ tiers: scenario: '' run: module: 'functest.opnfv_tests.openstack.tempest.tempest' - class: 'TempestBarbican' + class: 'TempestCommon' + args: + mode: 'barbican_tempest_plugin.tests.(api|scenario)' |