Found two new tests that caused hang. Both have “mock.patch(
'time.sleep’)” in it. In this patch, I changed
datera.DEFAULT_SI_SLEEP to 0 from 0.01 and removed
“mock.patch('time.sleep’)”.
Logs that showed hanging:
http://logs.openstack.org/52/328052/61/check/
gate-cinder-python34-db/d417592/console.html
cinder.tests.unit.volume.drivers.test_datera.DateraVolumeTestCase.
test_ensure_export_success [] ... inprogress
2016-08-25 16:35:34.965056 |
{2} cinder.tests.unit.volume.drivers.test_datera.DateraVolumeTestCase.
test_create_export_target_does_not_exist_success [] ... inprogress
2016-08-25 16:35:35.043246 |
Change-Id: I3b8797b245616a85f927de15dca48e75831e035d
Partial-Bug: #1578986