Commit eaf951fd authored by Benjamin Blanc's avatar Benjamin Blanc

testsuite: ScalabilityTestRunner: Change the instance updating states order

Change from update,stop,start  to stop,update,start.
parent 59c3f7c3
......@@ -320,15 +320,15 @@ late a SlapOS (positive) answer." %(str(os.getpid()),str(os.getpid()),))
count = 0
for configuration in configuration_list:
# Stop instance
self.slapos_controler.stopInstance(self.instance_title)
self.log("Waiting for instance stop..")
self._waitInstance(self.instance_title)
# Update instance XML configuration
self._updateInstanceXML(configuration, self.instance_title,
node_test_suite.test_result, node_test_suite.test_suite)
self.log("Waiting for XML updating instance ready..")
self._waitInstance(self.instance_title)
# Stop instance
self.slapos_controler.stopInstance(self.instance_title)
self.log("Waiting for instance stop..")
self._waitInstance(self.instance_title)
# Start instance
self.slapos_controler.startInstance(self.instance_title)
self.log("Waiting for instance start..")
......
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