Commit 571bf721 authored by Benjamin Blanc's avatar Benjamin Blanc

util: runScalabilityTestSuite: add path for log

parent 971f8ef0
...@@ -43,7 +43,7 @@ class ScalabilityLauncher(object): ...@@ -43,7 +43,7 @@ class ScalabilityLauncher(object):
logger = logging.getLogger('runScalabilityTestSuite') logger = logging.getLogger('runScalabilityTestSuite')
logger.addHandler(logging.NullHandler()) logger.addHandler(logging.NullHandler())
file_handler = logging.handlers.RotatingFileHandler( file_handler = logging.handlers.RotatingFileHandler(
filename=self.__argumentNamespace.log_path, filename=self.__argumentNamespace.log_path+"runScalabilityTestSuite.log",
maxBytes=20000000, backupCount=4) maxBytes=20000000, backupCount=4)
file_handler.setFormatter(formatter) file_handler.setFormatter(formatter)
logger.addHandler(file_handler) logger.addHandler(file_handler)
...@@ -144,7 +144,9 @@ class ScalabilityLauncher(object): ...@@ -144,7 +144,9 @@ class ScalabilityLauncher(object):
'1', '1',
test_suites, test_suites,
'--benchmark-path-list', benchmark_path_list, '--benchmark-path-list', benchmark_path_list,
'--users-file-path', user_file_path '--users-file-path', user_file_path,
'--filename-prefix', "performance_tester_erp5_%s_" %(current_test.title),
'--report-directory', self.__argumentNamespace.log_path,
]) ])
self.log("Test Case %s is finish" %(current_test.title)) self.log("Test Case %s is finish" %(current_test.title))
current_test.stop() current_test.stop()
......
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