]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add a gate-specific tox env for functional tests
authorMaru Newby <marun@redhat.com>
Wed, 2 Jul 2014 00:35:12 +0000 (00:35 +0000)
committerMaru Newby <marun@redhat.com>
Wed, 9 Jul 2014 06:05:11 +0000 (06:05 +0000)
commit37086a8f175ed47776cfc7160aeb29b10060ec8b
tree0fb989812d4103b6fc3f75350d449f056b55b40d
parent798824cab0322d9de82594dbbdb6c4ead0e1cb2f
Add a gate-specific tox env for functional tests

The functional gate jobs (*-neutron-dsvm-functional) need special
configuration (e.g. OS_SUDO_TESTING, OS_ROOTWRAP_CMD) to run tests.
This patch adds a new gate-specific tox env (tox -e dsvm-functional)
that sets the appropriate values and allows easy duplication of the
results of the upstream job on a host that has successfully run
devstack with neutron enabled.

A new configuration option, OS_FAIL_ON_MISSING_DEPS, is also set by
the dsvm-functional tox env to ensure that dependency failures will
result in failures rather than skips when run in the gate.

Change-Id: Idbfef1ba72ed129a3021509c7969e2685b8a6d09
Partial-bug: #1336172
TESTING.rst
neutron/tests/functional/agent/linux/base.py
neutron/tests/functional/agent/linux/test_ovsdb_monitor.py
neutron/tests/functional/base.py
tox.ini