Commit e788f8dd authored by Benjamin Blanc's avatar Benjamin Blanc

runScalabilityTestSuite: add test_suite and usersInfo path base (need to be hardcoded)

parent 814e0404
...@@ -72,6 +72,10 @@ class ScalabilityLauncher(object): ...@@ -72,6 +72,10 @@ class ScalabilityLauncher(object):
metavar='REVISION', metavar='REVISION',
help='Revision of the test_suite') help='Revision of the test_suite')
parser.add_argument('--test-suite',
metavar='TEST_SUITE',
help='Name of the test suite')
parser.add_argument('--node-title', parser.add_argument('--node-title',
metavar='NODE_TITLE', metavar='NODE_TITLE',
help='Title of the testnode which is running this' help='Title of the testnode which is running this'
...@@ -122,6 +126,10 @@ class ScalabilityLauncher(object): ...@@ -122,6 +126,10 @@ class ScalabilityLauncher(object):
start_time = time.time() start_time = time.time()
error_message_set, exit_status = set(), 0 error_message_set, exit_status = set(), 0
test_suites = 'createPerson createWebPage'
benchmark_path_list = ''
user_file_path = ''
while time.time()-start_time < max_time: while time.time()-start_time < max_time:
current_test = self.getNextTest() current_test = self.getNextTest()
if current_test == None: if current_test == None:
...@@ -134,7 +142,9 @@ class ScalabilityLauncher(object): ...@@ -134,7 +142,9 @@ class ScalabilityLauncher(object):
call(["performance_tester_erp5", call(["performance_tester_erp5",
self.__argumentNamespace.erp5_url, self.__argumentNamespace.erp5_url,
'1', '1',
'createPerson' test_suites,
'--benchmark-path-list', benchmark_path_list,
'--users-file-path', user_file_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