nova/nova/tests/unit/virt/disk/mount
Zane Bitter 99b1b3f6f0 Don't use private interface in oslo.service
The _ThreadingEvent class in oslo_service.loopingcall is a private
interface, and backported changes to fix performance issues remove that
class. Since the _ThreadingEvent.wait() function is essentially
synonymous with the LoopingCallBase._sleep() method, substitute the
latter instead. This ensures that the Nova tests will work with both
older and newer versions of oslo.service.

This is a stable-only change because these mocks have already been
replaced with the new oslo_service.fixture.SleepFixture on master by
fded752b16.

Change-Id: Ie4f27622f6158b1123b2e9dd050f90a3dbd84ea6
Related-Bug: #1798774
2018-11-21 16:37:38 -05:00
..
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_api.py Don't use private interface in oslo.service 2018-11-21 16:37:38 -05:00
test_block.py virt: allow for direct mounting of LocalBlockImages 2015-12-10 16:15:44 +00:00
test_loop.py Move loopback setup and removal to privsep. 2017-10-24 18:50:33 +11:00
test_nbd.py Fix unit tests to work with new oslo.config 2018-03-31 15:55:51 -05:00