Fix working swift "in-process" funtional test runs

The swift code base now allows for running all of the functional tests
against a set of in-process servers. The functional tests, which are
nose based, run entirely with-in the process from which nose is invoked,
allowing for coverage collection and / or easier test development.

These tests had been added using the gate-{name}-unittest-{env} template
which assumes that the env name will be prefixed with 'py' before
passing it to tox. 'pyfunc' doesn't exist as the target so switch to
using the gate-{name}-tox-{envlist} template which does not assume
anything about the tox target.

The ability to run these "in-process" functional tests is only available
post-Icehouse.

Change-Id: I77d47dffa429ffc90ab732c518dc14cbf22f7017
This commit is contained in:
Peter Portante 2014-05-05 13:56:05 -04:00
parent 1f1def4b7d
commit e16d0d11b5
3 changed files with 6 additions and 5 deletions

View File

@ -1226,8 +1226,8 @@
jobs: jobs:
- python-jobs - python-jobs
- openstack-publish-jobs - openstack-publish-jobs
- gate-{name}-unittests-{env}: - 'gate-{name}-tox-{envlist}':
env: func envlist: func
- '{pipeline}-swift-dsvm-functional{branch-designator}': - '{pipeline}-swift-dsvm-functional{branch-designator}':
pipeline: gate pipeline: gate
node: devstack-precise node: devstack-precise

View File

@ -578,7 +578,8 @@ jobs:
voting: false voting: false
- name: gate-heat-templates-dsvm - name: gate-heat-templates-dsvm
voting: false voting: false
- name: gate-swift-unittests-func - name: gate-swift-tox-func
branch: ^(?!stable/(havana|icehouse)).*$
voting: false voting: false
# The project list is grouped by type of project, and within each # The project list is grouped by type of project, and within each
@ -1037,14 +1038,14 @@ projects:
- name: check-requirements - name: check-requirements
- name: integrated-gate - name: integrated-gate
check: check:
- gate-swift-unittests-func - gate-swift-tox-func
- check-swift-dsvm-functional - check-swift-dsvm-functional
- check-devstack-dsvm-cells - check-devstack-dsvm-cells
- check-tempest-dsvm-postgres-full - check-tempest-dsvm-postgres-full
- gate-tempest-dsvm-large-ops - gate-tempest-dsvm-large-ops
- gate-tempest-dsvm-neutron-large-ops - gate-tempest-dsvm-neutron-large-ops
gate: gate:
- gate-swift-unittests-func - gate-swift-tox-func
- gate-swift-dsvm-functional - gate-swift-dsvm-functional
- gate-devstack-dsvm-cells - gate-devstack-dsvm-cells
- gate-tempest-dsvm-postgres-full - gate-tempest-dsvm-postgres-full