Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alecs_myu
erp5
Commits
51f1540f
Commit
51f1540f
authored
Jul 09, 2013
by
Benjamin Blanc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
util: testnode: runScalabilityTestSuite add runner path option
parent
0f1796da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
erp5/util/scalability/runScalabilityTestSuite.py
erp5/util/scalability/runScalabilityTestSuite.py
+6
-1
No files found.
erp5/util/scalability/runScalabilityTestSuite.py
View file @
51f1540f
...
...
@@ -88,6 +88,10 @@ class ScalabilityLauncher(object):
parser
.
add_argument
(
'--log-path'
,
metavar
=
'LOG_PATH'
,
help
=
'Log Path'
)
parser
.
add_argument
(
'--runner-path'
,
metavar
=
'Runner_PATH'
,
help
=
'runner Path'
)
@
staticmethod
def
_checkParsedArguments
(
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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment