resiliency-test: allow to work without log_path.

parent b0f60de7
...@@ -135,8 +135,11 @@ class ScalabilityLauncher(object): ...@@ -135,8 +135,11 @@ class ScalabilityLauncher(object):
""" """
def __init__(self): def __init__(self):
self._argumentNamespace = parseArguments() self._argumentNamespace = parseArguments()
log_path = os.path.join(self._argumentNamespace.log_path, if self._argumentNamespace.log_path:
'runScalabilityTestSuite.log') log_path = os.path.join(self._argumentNamespace.log_path,
'runScalabilityTestSuite.log')
else:
log_path = None
self.log = setupLogging('runScalabilityTestSuite', log_path).info self.log = setupLogging('runScalabilityTestSuite', log_path).info
# Proxy to erp5 master test_result # Proxy to erp5 master test_result
......
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