Commit d4e336fe authored by Benjamin Blanc's avatar Benjamin Blanc

Add subscription to testnode

parent cfead5a5
...@@ -332,11 +332,17 @@ branch = %(branch)s ...@@ -332,11 +332,17 @@ branch = %(branch)s
begin = time.time() begin = time.time()
portal_url = config['test_suite_master_url'] portal_url = config['test_suite_master_url']
portal = taskdistribution.TaskDistributionTool(portal_url, logger=DummyLogger(log)) portal = taskdistribution.TaskDistributionTool(portal_url, logger=DummyLogger(log))
self.portal = portal
portal.subscribeNode(config['test_node_title'], config['computer_id'])
test_suite_portal = taskdistribution.TaskDistributor(portal_url, logger=DummyLogger(log)) test_suite_portal = taskdistribution.TaskDistributor(portal_url, logger=DummyLogger(log))
self.test_suite_portal = test_suite_portal
test_suite_portal.subscribeNode(config['test_node_title'], config['computer_id'])
test_suite_json = test_suite_portal.startTestSuite(config['test_node_title']) test_suite_json = 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