Merge "Handle retries in PowerMax unit tests"

This commit is contained in:
Zuul 2020-02-18 21:16:21 +00:00 committed by Gerrit Code Review
commit bd7f38ea42

View File

@ -15,6 +15,7 @@
import ast
from copy import deepcopy
import time
from unittest import mock
import six
@ -1071,6 +1072,7 @@ class PowerMaxCommonTest(test.TestCase):
mock_del.assert_called_once_with(array, device_id, volume_name)
def test_delete_volume_from_srp_failed(self):
self.mock_object(time, 'sleep')
array = self.data.array
device_id = self.data.failed_resource
volume_name = self.data.test_volume.name