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
4e2da560
Commit
4e2da560
authored
Jul 09, 2013
by
Benjamin Blanc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
util: runScalabilityTestSuite: Add try/except for tester call
parent
571bf721
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
9 deletions
+13
-9
erp5/util/scalability/runScalabilityTestSuite.py
erp5/util/scalability/runScalabilityTestSuite.py
+13
-9
No files found.
erp5/util/scalability/runScalabilityTestSuite.py
View file @
4e2da560
...
@@ -139,6 +139,7 @@ class ScalabilityLauncher(object):
...
@@ -139,6 +139,7 @@ class ScalabilityLauncher(object):
# Here call a runScalabilityTest ( placed on product/ERP5Type/tests ) ?
# Here call a runScalabilityTest ( placed on product/ERP5Type/tests ) ?
self
.
log
(
"Test Case %s is running..."
%
(
current_test
.
title
))
self
.
log
(
"Test Case %s is running..."
%
(
current_test
.
title
))
# Call the performance_tester_erp5
# Call the performance_tester_erp5
try
:
call
([
"performance_tester_erp5"
,
call
([
"performance_tester_erp5"
,
self
.
__argumentNamespace
.
erp5_url
,
self
.
__argumentNamespace
.
erp5_url
,
'1'
,
'1'
,
...
@@ -148,6 +149,9 @@ class ScalabilityLauncher(object):
...
@@ -148,6 +149,9 @@ class ScalabilityLauncher(object):
'--filename-prefix'
,
"performance_tester_erp5_%s_"
%
(
current_test
.
title
),
'--filename-prefix'
,
"performance_tester_erp5_%s_"
%
(
current_test
.
title
),
'--report-directory'
,
self
.
__argumentNamespace
.
log_path
,
'--report-directory'
,
self
.
__argumentNamespace
.
log_path
,
])
])
except
:
self
.
log
(
"Error during tester call."
)
raise
ValueError
(
"Tester call failed"
)
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
()
self
.
log
(
"Test Case Stopped"
)
self
.
log
(
"Test Case Stopped"
)
...
...
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