Commit dd519c63 authored by Benjamin Blanc's avatar Benjamin Blanc

testnode: ScalabilityTestRunner: Fix runTestSuite bug when cluster configuration is not sufficient

parent 8fd42969
...@@ -297,6 +297,10 @@ late a SlapOS (positive) answer." %(str(os.getpid()),str(os.getpid()),)) ...@@ -297,6 +297,10 @@ late a SlapOS (positive) answer." %(str(os.getpid()),str(os.getpid()),))
return {'status_code' : 0} return {'status_code' : 0}
def runTestSuite(self, node_test_suite, portal_url): def runTestSuite(self, node_test_suite, portal_url):
if not self.launchable:
self.log("Current test_suite is not actually launchable.")
return {'status_code' : 1} # Unable to continue due to not realizable configuration
configuration_list = node_test_suite.configuration_list configuration_list = node_test_suite.configuration_list
test_list = [ configuration_list.index(configuration) test_list = [ configuration_list.index(configuration)
for configuration in configuration_list ] for configuration in configuration_list ]
......
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