class EMCVNXCLIToggleSPTestData(object):
def FAKE_COMMAND_PREFIX(self, sp_address):
- return ('/opt/Navisphere/bin/naviseccli', '-address', sp_address,
- '-user', 'sysadmin', '-password', 'sysadmin',
- '-scope', 'global')
+ return ('/opt/Navisphere/bin/naviseccli', '-timeout 120',
+ '-address', sp_address, '-user', 'sysadmin',
+ '-password', 'sysadmin', '-scope', 'global')
class EMCVNXCLIToggleSPTestCase(test.TestCase):
LOG.error(err_msg)
raise exception.VolumeBackendAPIException(data=err_msg)
- self.command = (navisecclipath, '-address')
+ self.command = (navisecclipath, '-timeout 120', '-address')
self.active_storage_ip = configuration.san_ip
self.primary_storage_ip = self.active_storage_ip
self.secondary_storage_ip = configuration.san_secondary_ip