resiliency-test: give logger to taskdistribution, not logger.info.

parent c46fe3a0
...@@ -140,12 +140,13 @@ class ScalabilityLauncher(object): ...@@ -140,12 +140,13 @@ class ScalabilityLauncher(object):
'runScalabilityTestSuite.log') 'runScalabilityTestSuite.log')
else: else:
log_path = None log_path = None
self.log = setupLogging('runScalabilityTestSuite', log_path).info logger = setupLogging('runScalabilityTestSuite', log_path)
self.log = logger.info
# Proxy to erp5 master test_result # Proxy to erp5 master test_result
self.test_result = taskdistribution.TestResultProxyProxy( self.test_result = taskdistribution.TestResultProxyProxy(
self._argumentNamespace.test_suite_master_url, self._argumentNamespace.test_suite_master_url,
1.0, self.log, 1.0, logger,
self._argumentNamespace.test_result_path, self._argumentNamespace.test_result_path,
self._argumentNamespace.node_title, self._argumentNamespace.node_title,
self._argumentNamespace.revision self._argumentNamespace.revision
......
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