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
d7c02f2c
Commit
d7c02f2c
authored
Jul 08, 2013
by
Benjamin Blanc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
util: runScalabilityTestSuite add call to performance tester
parent
e49b56bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
erp5/util/scalability/runScalabilityTestSuite.py
erp5/util/scalability/runScalabilityTestSuite.py
+8
-3
No files found.
erp5/util/scalability/runScalabilityTestSuite.py
View file @
d7c02f2c
...
@@ -15,6 +15,8 @@ from erp5.util.benchmark.performance_tester import PerformanceTester
...
@@ -15,6 +15,8 @@ from erp5.util.benchmark.performance_tester import PerformanceTester
from
erp5.util
import
taskdistribution
from
erp5.util
import
taskdistribution
from
erp5.util.testnode
import
testnodeUtils
from
erp5.util.testnode
import
testnodeUtils
from
subprocess
import
call
class
ScalabilityTest
(
object
):
class
ScalabilityTest
(
object
):
def
__init__
(
self
,
data
,
test_result
):
def
__init__
(
self
,
data
,
test_result
):
self
.
__dict__
=
{}
self
.
__dict__
=
{}
...
@@ -128,9 +130,12 @@ class ScalabilityLauncher(object):
...
@@ -128,9 +130,12 @@ class ScalabilityLauncher(object):
else
:
else
:
# 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
))
time
.
sleep
(
5
)
# Call the performance_tester_erp5
# Todo : launch performance_tester with good parameters
call
([
"performance_tester_erp5"
,
# and
self
.
__argumentNamespace
.
erp5_url
,
'1'
,
'createPerson'
])
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