Fix lock files littering working dir during tests
Change path used for tests by coordination module file locks. Closes-Bug: 1594390 Change-Id: I8af77b678e2f708e51cdf15d4c3e4c959e9b47ee
This commit is contained in:
parent
3452827238
commit
549436c851
@ -233,6 +233,8 @@ class TestCase(testtools.TestCase):
|
||||
# clear out the cache.
|
||||
sqla_api._GET_METHODS = {}
|
||||
|
||||
self.override_config('backend_url', 'file://' + lock_path,
|
||||
group='coordination')
|
||||
coordination.COORDINATOR.start()
|
||||
self.addCleanup(coordination.COORDINATOR.stop)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user