Commit e000acdd authored by Benjamin Blanc's avatar Benjamin Blanc

test_node: ScalabilityTestRunner: Fix typo

Noticed by Cédric de Saint Martin.
parent a595132a
...@@ -72,6 +72,8 @@ class ScalabilityTestRunner(): ...@@ -72,6 +72,8 @@ class ScalabilityTestRunner():
except: except:
slapos_url = self.testnode.config['server_url'] slapos_url = self.testnode.config['server_url']
self.log("SlapOS Master url is: %s" %slapos_url)
self.key_path, self.cert_path, config_path = self.slapos_controler.createSlaposConfigurationFileAccount( self.key_path, self.cert_path, config_path = self.slapos_controler.createSlaposConfigurationFileAccount(
key, certificate, slapos_url, self.testnode.config) key, certificate, slapos_url, self.testnode.config)
self.slapos_communicator = None self.slapos_communicator = None
...@@ -323,7 +325,7 @@ late a SlapOS (positive) answer." %(str(os.getpid()),str(os.getpid()),)) ...@@ -323,7 +325,7 @@ late a SlapOS (positive) answer." %(str(os.getpid()),str(os.getpid()),))
self.instance_title = self._generateInstanceTitle(node_test_suite.test_suite_title) self.instance_title = self._generateInstanceTitle(node_test_suite.test_suite_title)
try: try:
self._createInstance(self.reachable_profile, configuration_list[0], self._createInstance(self.reachable_profile, configuration_list[0],
self.instance_title, node_test_suite.test_result, node_test_suite.test_suite) self.instance_title, node_test_suite.test_result, node_test_suite.test_suite_title)
self.log("Scalability instance requested.") self.log("Scalability instance requested.")
except: except:
self.log("Unable to launch instance") self.log("Unable to launch instance")
...@@ -354,7 +356,7 @@ late a SlapOS (positive) answer." %(str(os.getpid()),str(os.getpid()),)) ...@@ -354,7 +356,7 @@ late a SlapOS (positive) answer." %(str(os.getpid()),str(os.getpid()),))
self._waitInstance(self.instance_title, 'stopped') self._waitInstance(self.instance_title, 'stopped')
# Update instance XML configuration # Update instance XML configuration
self._updateInstanceXML(configuration, self.instance_title, self._updateInstanceXML(configuration, self.instance_title,
node_test_suite.test_result, node_test_suite.test_suite) node_test_suite.test_result, node_test_suite.test_suite_title)
self._waitInstance(self.instance_title, 'started') self._waitInstance(self.instance_title, 'started')
# Start instance # Start instance
self.slapos_controler.startInstance(self.instance_title) self.slapos_controler.startInstance(self.instance_title)
......
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