Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
telecom
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Roque
telecom
Commits
5de594ba
Commit
5de594ba
authored
Nov 29, 2017
by
Roque Porchetto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scalability_test: new method getScalabilityTestOutput in init test suite
parent
36adf0e3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
scalability_test/__init__.py
scalability_test/__init__.py
+9
-0
No files found.
scalability_test/__init__.py
View file @
5de594ba
...
...
@@ -32,6 +32,15 @@ class WendelinERP5_scalability():
instance_information_dict
[
'zope-address'
])
return
metrics_url
+
"/ERP5Site_getScalabilityTestMetric"
def
getScalabilityTestOutput
(
self
,
metric_list
):
if
not
metric_list
:
return
None
output_dict
=
metric_list
[
0
]
for
metric_dict
in
metric_list
:
if
metric_dict
[
"person_per_hour"
]
>
output_dict
[
"person_per_hour"
]:
output_dict
=
metric_dict
return
"Person: %s doc/hour; SaleOrder: %s doc/hour;"
%
(
str
(
output_dict
[
"person_per_hour"
]),
str
(
output_dict
[
"sale_order_per_hour"
]))
def
getBootstrapScalabilityTestUrl
(
self
,
count
=
0
,
instance_information_dict
,
**
kw
):
bootstrap_url
=
"http://%s:%s@%s/erp5"
%
(
instance_information_dict
[
'user'
],
instance_information_dict
[
'password'
],
...
...
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