neutron/neutron/tests/common
Robert Collins 7344e3ab8e Improve fixture usage.
There were two broad issues with fixtures.

Firstly, the 'SafeFixture' workaround for resource leaks in fixtures
<1.3 is not needed if we depend on fixtures>=1.3.1. While testtools
may raise a TypeError when trying to query a fixture that failed to
setup, this is only ever a cascading failure - it will not cause
tests to fail, cause leaks, or cause tests to incorrectly pass. That
will be fixed in testtools soon to stop it happening (but as it cannot
affect whether a test passes or fails or leaks happen there is no
reason to wait for that). Leaks are seen with fixtures 1.3.0 still
because eventlet raises a BaseException subclass rather than an
Exception subclass, and fixtures 1.3.0 didn't handle that - 1.3.1 does.

Secondly, some of the fixtures had race conditions where things were
started and then cleanups scheduled. Where possible I've fixed those,
but some of them require more significant work to fully address.

Change-Id: I3290712f7274970defda19263f4955e3c78e5ed6
Depends-On: I8c01506894ec0a92b53bc0e4ad14767f2dd6a6b3
Closes-bug: #1453888
2015-07-01 14:53:48 +12:00
..
agents Append @randtoken to L3 agent namespaces in full stack tests 2015-05-12 20:32:54 +00:00
__init__.py Test HA router failover 2014-11-24 12:05:09 +02:00
base.py Override opportunistic database tests to PyMySQL 2015-06-23 21:04:06 +02:00
helpers.py Centralized register_OVS_agent in tests 2015-05-14 11:10:49 -04:00
l3_test_common.py Switch to oslo_utils.uuidutils 2015-06-22 11:06:18 +00:00
machine_fixtures.py Improve fixture usage. 2015-07-01 14:53:48 +12:00
net_helpers.py Improve fixture usage. 2015-07-01 14:53:48 +12:00