4f06ae69e1
Backported from master branch.
Currently, test_cfapi appears to be conflicting with other
unit tests [1][2] (see gate-murano-python27-db-ubuntu-xenial
in each case).
This is because test_cfapi has a helper method called
_set_override that calls oslo_config.cfg.set_override without
using clearing the overrides during tearDown (i.e. by calling
self.addCleanup(oslo_config.cfg.clear_override) for all
the values that were overriden with set_override.
The tests are always run in random order (i.e. with tox -e py27)
so the conflict does not appear to be deterministic or
guaranteed across all test runs.
[1] https://review.openstack.org/#/c/433724/1
[2] https://review.openstack.org/#/c/429978/
Change-Id: Ia2730072eac5962c5eefd8209406b1b3903f15f5
(cherry picked from commit
|
||
---|---|---|
.. | ||
api | ||
cmd | ||
common | ||
core_library | ||
db | ||
dsl | ||
engine | ||
packages | ||
policy | ||
services | ||
__init__.py | ||
base.py | ||
test_actions.py | ||
test_engine.py | ||
test_hacking.py | ||
test_heat_stack.py | ||
test_utils.py | ||
utils.py |