Commit 708192ba authored by Benjamin Blanc's avatar Benjamin Blanc

Up

parent 8f136557
...@@ -58,6 +58,7 @@ class ScalabilityTestRunner(): ...@@ -58,6 +58,7 @@ class ScalabilityTestRunner():
certificate = self.testnode.test_suite_portal.getSlaposAccountCertificate() certificate = self.testnode.test_suite_portal.getSlaposAccountCertificate()
self.slapos_controler.createSlaposConfigurationFileAccount(key,certificate, self.slapos_controler.createSlaposConfigurationFileAccount(key,certificate,
self.testnode.config) self.testnode.config)
self.remaining_software_installation_grid = {} self.remaining_software_installation_grid = {}
# Protection to prevent installation of softwares after checking # Protection to prevent installation of softwares after checking
self.authorize_supply = True self.authorize_supply = True
...@@ -153,6 +154,7 @@ class ScalabilityTestRunner(): ...@@ -153,6 +154,7 @@ class ScalabilityTestRunner():
self.involved_nodes_computer_guid = test_configuration['involved_nodes_computer_guid'] self.involved_nodes_computer_guid = test_configuration['involved_nodes_computer_guid']
self.launchable = test_configuration['launchable'] self.launchable = test_configuration['launchable']
self.error_message = test_configuration['error_message'] self.error_message = test_configuration['error_message']
self.random_path = test_configuration['random_path']
if not self.launchable: if not self.launchable:
self.testnode.log("Test suite %s is not actually launchable with \ self.testnode.log("Test suite %s is not actually launchable with \
the current cluster configuration." %(node_test_suite.test_suite_title,)) the current cluster configuration." %(node_test_suite.test_suite_title,))
......
...@@ -49,6 +49,9 @@ def createFolders(folder): ...@@ -49,6 +49,9 @@ def createFolders(folder):
if not(os.path.exists(folder)): if not(os.path.exists(folder)):
os.makedirs(folder) os.makedirs(folder)
def isDir(folder):
return os.path.isdir(folder)
def createFile(path, mode, content): def createFile(path, mode, content):
f = open(path, mode) f = open(path, mode)
if os.path.exists(path): if os.path.exists(path):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment