Commit e9955ae1 authored by Benjamin Blanc's avatar Benjamin Blanc

Fix client side taskdistribution missing returns

parent c7051b51
...@@ -466,20 +466,20 @@ class TaskDistributor(RPCRetry): ...@@ -466,20 +466,20 @@ class TaskDistributor(RPCRetry):
""" """
Generates a configuration from a test_suite_title Generates a configuration from a test_suite_title
""" """
self._retryRPC('generateConfiguration', (test_suite_title,)) return self._retryRPC('generateConfiguration', (test_suite_title,))
def isValidatedMaster(self, test_node_title): def isValidatedMaster(self, test_node_title):
""" """
Returns True or False if the testnode is the master Returns True or False if the testnode is the master
""" """
self._retryRPC('isValidatedMaster', (test_node_title,)) return self._retryRPC('isValidatedMaster', (test_node_title,))
def getFooFooFoo(self): def getFooFooFoo(self):
""" """
Returns "FooFooFoo" Returns "FooFooFoo"
""" """
self._retryRPC('getFooFooFoo') return self._retryRPC('getFooFooFoo')
class DummyTaskDistributionTool(object): class DummyTaskDistributionTool(object):
......
...@@ -336,11 +336,6 @@ branch = %(branch)s ...@@ -336,11 +336,6 @@ branch = %(branch)s
self.test_suite_portal = taskdistribution.TaskDistributor(portal_url, logger=DummyLogger(log)) self.test_suite_portal = taskdistribution.TaskDistributor(portal_url, logger=DummyLogger(log))
self.test_suite_portal.subscribeNode(config['test_node_title'], config['computer_id']) self.test_suite_portal.subscribeNode(config['test_node_title'], config['computer_id'])
print deunicodeData(self.test_suite_portal.getFooFooFoo())
time.sleep(12)
test_suite_json = self.test_suite_portal.startTestSuite(config['test_node_title']) test_suite_json = self.test_suite_portal.startTestSuite(config['test_node_title'])
test_suite_data = deunicodeData(json.loads(test_suite_json)) test_suite_data = deunicodeData(json.loads(test_suite_json))
log("Got following test suite data from master : %r" % \ log("Got following test suite data from master : %r" % \
......
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