]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Ensure no "agent" functional tests are skipped in the gate
authorCedric Brandily <zzelle@gmail.com>
Mon, 1 Jun 2015 20:29:39 +0000 (22:29 +0200)
committerCedric Brandily <zzelle@gmail.com>
Wed, 10 Jun 2015 17:56:19 +0000 (19:56 +0200)
commit27df3e9fb98407e94bdeb9df493a9a3a0be639ca
tree6e631b06f1910f293c48906f9d4d0466a779fc56
parentae2c69780a309e9429e0ce771ed7d63679eabbef
Ensure no "agent" functional tests are skipped in the gate

Some "agent" functional tests[1] can be skipped if some requirements are
not satisfied in order to allow developers to run functional tests on
various environments. These tests should not be skipped in the gate.

This change defines the decorator no_skip_on_missing_deps[2] to ensure
no "agent" functional tests are skipped in the gate. More precisely
no_skip_on_missing_deps transforms a skipTest into an error in:

* dsvm-functional and dsvm-fullstack jobs,
* functional and fullstack jobs when OS_FAIL_ON_MISSING_DEPS is
  evaluated as True.

The change enlarges OS_FAIL_ON_MISSING_DEPS environment variable scope
(ie: missing dependencies + system requirements).

[1] in neutron.tests.functional
[2] in neutron.tests.common.base

Change-Id: Iacd4a5ef249fc1d7c75135ead9d0cf99d8a98a06
Closes-Bug: #1459844
neutron/tests/common/base.py
neutron/tests/functional/agent/test_ovs_flows.py
neutron/tests/functional/base.py