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
e788f8dd
Commit
e788f8dd
authored
Jul 08, 2013
by
Benjamin Blanc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
runScalabilityTestSuite: add test_suite and usersInfo path base (need to be hardcoded)
parent
814e0404
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
erp5/util/scalability/runScalabilityTestSuite.py
erp5/util/scalability/runScalabilityTestSuite.py
+12
-2
No files found.
erp5/util/scalability/runScalabilityTestSuite.py
View file @
e788f8dd
...
...
@@ -72,6 +72,10 @@ class ScalabilityLauncher(object):
metavar
=
'REVISION'
,
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'
,
metavar
=
'NODE_TITLE'
,
help
=
'Title of the testnode which is running this'
...
...
@@ -121,7 +125,11 @@ class ScalabilityLauncher(object):
max_time
=
36000
start_time
=
time
.
time
()
error_message_set
,
exit_status
=
set
(),
0
test_suites
=
'createPerson createWebPage'
benchmark_path_list
=
''
user_file_path
=
''
while
time
.
time
()
-
start_time
<
max_time
:
current_test
=
self
.
getNextTest
()
if
current_test
==
None
:
...
...
@@ -134,7 +142,9 @@ class ScalabilityLauncher(object):
call
([
"performance_tester_erp5"
,
self
.
__argumentNamespace
.
erp5_url
,
'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
))
current_test
.
stop
()
...
...
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