Merge "Speed up ibm storwize svc driver's tests"

This commit is contained in:
Jenkins 2016-09-29 09:16:23 +00:00 committed by Gerrit Code Review
commit 52a3ee5186

View File

@ -2912,8 +2912,8 @@ class StorwizeSVCCommonDriverTestCase(test.TestCase):
self.driver.do_setup(None)
self.driver.check_for_setup_error()
self.driver._helpers.check_fcmapping_interval = 0
self.mock_gr_sleep = mock.patch.object(
storwize_svc_common.StorwizeSVCCommonDriver, "DEFAULT_GR_SLEEP", 0)
self.mock_object(storwize_svc_iscsi.StorwizeSVCISCSIDriver,
'DEFAULT_GR_SLEEP', 0)
def _set_flag(self, flag, value, configuration=None):
if not configuration: