Commit a957e0ec authored by Benjamin Blanc's avatar Benjamin Blanc

scalability/runScalabilityTestSuite: add command logs

parent 1490b05e
...@@ -331,8 +331,8 @@ class ScalabilityLauncher(object): ...@@ -331,8 +331,8 @@ class ScalabilityLauncher(object):
self.log("user_number: %s" %str(user_number)) self.log("user_number: %s" %str(user_number))
self.log("test_duration: %ss" %str(test_duration)) self.log("test_duration: %ss" %str(test_duration))
tester_process = subprocess.Popen([tester_path, command = [tester_path,
self.__argumentNamespace.erp5_url, self.__argumentNamespace.erp5_url,
str(user_number), str(user_number),
' '.join(test_suites), ' '.join(test_suites),
...@@ -342,7 +342,9 @@ class ScalabilityLauncher(object): ...@@ -342,7 +342,9 @@ class ScalabilityLauncher(object):
'--filename-prefix', "%s_%s_" %(LOG_FILE_PREFIX, current_test.title), '--filename-prefix', "%s_%s_" %(LOG_FILE_PREFIX, current_test.title),
'--report-directory', self.__argumentNamespace.log_path, '--report-directory', self.__argumentNamespace.log_path,
'--repeat', "%s" %str(MAX_DOCUMENTS), '--repeat', "%s" %str(MAX_DOCUMENTS),
]) ]
self.log("command: %s" %str(command))
tester_process = subprocess.Popen(command)
time.sleep(test_duration) time.sleep(test_duration)
tester_process.send_signal(signal.SIGINT) tester_process.send_signal(signal.SIGINT)
......
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