Commit 51f1540f authored by Benjamin Blanc's avatar Benjamin Blanc

util: testnode: runScalabilityTestSuite add runner path option

parent 0f1796da
......@@ -89,6 +89,10 @@ class ScalabilityLauncher(object):
metavar='LOG_PATH',
help='Log Path')
parser.add_argument('--runner-path',
metavar='Runner_PATH',
help='runner Path')
@staticmethod
def _checkParsedArguments(namespace):
return namespace
......@@ -129,6 +133,7 @@ class ScalabilityLauncher(object):
test_suites = 'createPerson createWebPage'
benchmark_path_list = '/opt/slapgrid/0d079fd393801181806cf894bf39aca6/parts/erp5/erp5/util/benchmark/examples'
user_file_path = '/opt/slapgrid/0d079fd393801181806cf894bf39aca6/parts/erp5/erp5/util/benchmark/examples'
tester_path = self.__argumentNamespace.runner_path
while time.time()-start_time < max_time:
current_test = self.getNextTest()
......@@ -140,7 +145,7 @@ class ScalabilityLauncher(object):
self.log("Test Case %s is running..." %(current_test.title))
# Call the performance_tester_erp5
try:
call(["performance_tester_erp5",
call([tester_path,
self.__argumentNamespace.erp5_url,
'1',
test_suites,
......
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