Scalability test distributor: respect ERP5ProjectUnitTestDistributor interface.

ERP5ProjectUnitTestDistributor.startTestSuite doesn't know about computer_guid parameter.
parent fda7fda2
...@@ -175,8 +175,7 @@ class ERP5ScalabilityDistributor(ERP5ProjectUnitTestDistributor): ...@@ -175,8 +175,7 @@ class ERP5ScalabilityDistributor(ERP5ProjectUnitTestDistributor):
if len(master_test_node_title_list) == 1 and title == master_test_node_title_list[0]: if len(master_test_node_title_list) == 1 and title == master_test_node_title_list[0]:
return super(ERP5ScalabilityDistributor, return super(ERP5ScalabilityDistributor,
self).startTestSuite(title=title, self).startTestSuite(title=title,
batch_mode=batch_mode, batch_mode=batch_mode)
computer_guid=computer_guid)
else: else:
if batch_mode: if batch_mode:
return [] return []
...@@ -228,4 +227,4 @@ class ERP5ScalabilityDistributor(ERP5ProjectUnitTestDistributor): ...@@ -228,4 +227,4 @@ class ERP5ScalabilityDistributor(ERP5ProjectUnitTestDistributor):
""" """
portal = self.getPortalObject() portal = self.getPortalObject()
test_result_line = portal.restrictedTraverse(test_result_line_path) test_result_line = portal.restrictedTraverse(test_result_line_path)
return test_result_line.getSimulationState() == "started" return test_result_line.getSimulationState() == "started"
\ No newline at end of file
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