Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5-Boxiang
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
Hamza
erp5-Boxiang
Commits
82d9ea52
Commit
82d9ea52
authored
Sep 09, 2013
by
Benjamin Blanc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: ERP5_scalability: ajust user number
parent
ae7ba644
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
erp5/util/testnode/ScalabilityTestRunner.py
erp5/util/testnode/ScalabilityTestRunner.py
+2
-0
tests/__init__.py
tests/__init__.py
+2
-2
No files found.
erp5/util/testnode/ScalabilityTestRunner.py
View file @
82d9ea52
...
@@ -84,6 +84,8 @@ class ScalabilityTestRunner():
...
@@ -84,6 +84,8 @@ class ScalabilityTestRunner():
self
.
key_path
,
self
.
cert_path
,
config_path
=
self
.
slapos_controler
.
createSlaposConfigurationFileAccount
(
self
.
key_path
,
self
.
cert_path
,
config_path
=
self
.
slapos_controler
.
createSlaposConfigurationFileAccount
(
key
,
certificate
,
self
.
slapos_url
,
self
.
testnode
.
config
)
key
,
certificate
,
self
.
slapos_url
,
self
.
testnode
.
config
)
self
.
slapos_communicator
=
None
self
.
slapos_communicator
=
None
# Dict containing used to store which SR is not yet correctly installed.
# looks like: {'comp_id1':'SR_urlA', 'comp_id2':'SR_urlA',..}
self
.
remaining_software_installation_dict
=
{}
self
.
remaining_software_installation_dict
=
{}
# Protection to prevent installation of softwares after checking
# Protection to prevent installation of softwares after checking
...
...
tests/__init__.py
View file @
82d9ea52
...
@@ -137,8 +137,8 @@ class ERP5_scalability(_ERP5):
...
@@ -137,8 +137,8 @@ class ERP5_scalability(_ERP5):
return
'erp5/util/benchmark/examples/scalabilityUsers'
return
'erp5/util/benchmark/examples/scalabilityUsers'
def
getUserNumber
(
self
,
test_number
):
def
getUserNumber
(
self
,
test_number
):
return
[
45
,
90
,
120
,
180
,
22
0
][
test_number
]
return
[
45
,
120
,
160
,
200
,
23
0
][
test_number
]
# Test duration in seconds
# Test duration in seconds
def
getTestDuration
(
self
,
test_number
):
def
getTestDuration
(
self
,
test_number
):
return
60
*
5
return
60
*
10
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