From a957e0ec3e9e51e6ecea5981eab8e1f480621334 Mon Sep 17 00:00:00 2001 From: Benjamin Blanc <benjamin.blanc@tiolive.com> Date: Tue, 6 Aug 2013 14:11:55 +0200 Subject: [PATCH] scalability/runScalabilityTestSuite: add command logs --- erp5/util/scalability/runScalabilityTestSuite.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/erp5/util/scalability/runScalabilityTestSuite.py b/erp5/util/scalability/runScalabilityTestSuite.py index 86e9b067ba..10e1aeb469 100644 --- a/erp5/util/scalability/runScalabilityTestSuite.py +++ b/erp5/util/scalability/runScalabilityTestSuite.py @@ -331,8 +331,8 @@ class ScalabilityLauncher(object): self.log("user_number: %s" %str(user_number)) self.log("test_duration: %ss" %str(test_duration)) - - tester_process = subprocess.Popen([tester_path, + + command = [tester_path, self.__argumentNamespace.erp5_url, str(user_number), ' '.join(test_suites), @@ -342,7 +342,9 @@ class ScalabilityLauncher(object): '--filename-prefix', "%s_%s_" %(LOG_FILE_PREFIX, current_test.title), '--report-directory', self.__argumentNamespace.log_path, '--repeat', "%s" %str(MAX_DOCUMENTS), - ]) + ] + self.log("command: %s" %str(command)) + tester_process = subprocess.Popen(command) time.sleep(test_duration) tester_process.send_signal(signal.SIGINT) -- 2.30.9