Merge "change to valid error status in test_generic"
This commit is contained in:
commit
1dc17d9e14
@ -833,7 +833,7 @@ class GenericShareDriverTestCase(test.TestCase):
|
||||
|
||||
@mock.patch('time.sleep')
|
||||
def test_wait_for_available_volume_error_extending(self, mock_sleep):
|
||||
fake_volume = {'status': 'error_extending', 'id': 'fake'}
|
||||
fake_volume = {'status': const.STATUS_EXTENDING_ERROR, 'id': 'fake'}
|
||||
self.assertRaises(exception.ManilaException,
|
||||
self._driver._wait_for_available_volume,
|
||||
fake_volume, 5, 'error', 'timeout')
|
||||
|
Loading…
Reference in New Issue
Block a user