nova/nova/tests/unit/virt/disk
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
..
mount Don't use private interface in oslo.service 2018-11-21 16:37:38 -05:00
vfs Don't launch guestfs in a thread pool if guestfs.debug is enabled 2017-12-08 13:15:50 -05:00
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_api.py Move xenapi disk resizing to privsep. 2018-04-13 07:09:58 +10:00
test_inject.py Stop using mox stubs in nova/tests/unit/virt/disk 2016-11-21 20:39:26 +09:00