diff --git a/cinder/tests/test_emc_smis.py b/cinder/tests/test_emc_smis.py index 7e5a7ccc24d..aa4372b6dd8 100644 --- a/cinder/tests/test_emc_smis.py +++ b/cinder/tests/test_emc_smis.py @@ -947,6 +947,11 @@ class EMCSMISISCSIDriverTestCase(test.TestCase): emc.appendChild(ecompassword) ecompassword.appendChild(ecompasswordtext) + timeout = doc.createElement("Timeout") + timeouttext = doc.createTextNode("0") + emc.appendChild(timeout) + timeout.appendChild(timeouttext) + self.config_file_path = self.tempdir + '/' + self.data.config_file_name f = open(self.config_file_path, 'w') doc.writexml(f) @@ -1149,6 +1154,11 @@ class EMCSMISFCDriverTestCase(test.TestCase): emc.appendChild(ecompassword) ecompassword.appendChild(ecompasswordtext) + timeout = doc.createElement("Timeout") + timeouttext = doc.createTextNode("0") + emc.appendChild(timeout) + timeout.appendChild(timeouttext) + self.config_file_path = self.tempdir + '/' + self.data.config_file_name f = open(self.config_file_path, 'w') doc.writexml(f)