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
1
Issues
1
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
Roque
erp5
Commits
5a01ca2a
Commit
5a01ca2a
authored
Aug 28, 2013
by
Benjamin Blanc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
runScalabilityTestSuite: add DummyLogger
parent
6e7b6a17
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
erp5/util/scalability/runScalabilityTestSuite.py
erp5/util/scalability/runScalabilityTestSuite.py
+7
-1
No files found.
erp5/util/scalability/runScalabilityTestSuite.py
View file @
5a01ca2a
...
@@ -25,6 +25,12 @@ MAX_INSTALLATION_TIME = 60*50
...
@@ -25,6 +25,12 @@ MAX_INSTALLATION_TIME = 60*50
MAX_TESTING_TIME
=
60
MAX_TESTING_TIME
=
60
MAX_GETTING_CONNECTION_TIME
=
60
*
5
MAX_GETTING_CONNECTION_TIME
=
60
*
5
class
DummyLogger
(
object
):
def
__init__
(
self
,
func
):
for
name
in
(
'trace'
,
'debug'
,
'info'
,
'warn'
,
'warning'
,
'error'
,
'critical'
,
'fatal'
):
setattr
(
self
,
name
,
func
)
def
getConnection
(
erp5_url
,
log
):
def
getConnection
(
erp5_url
,
log
):
"""
"""
Return a connection with the erp5 instance.
Return a connection with the erp5 instance.
...
@@ -184,7 +190,7 @@ class ScalabilityLauncher(object):
...
@@ -184,7 +190,7 @@ class ScalabilityLauncher(object):
# Proxy to with erp5 master test_result
# Proxy to with erp5 master test_result
self
.
test_result
=
taskdistribution
.
TestResultProxyProxy
(
self
.
test_result
=
taskdistribution
.
TestResultProxyProxy
(
self
.
__argumentNamespace
.
test_suite_master_url
,
self
.
__argumentNamespace
.
test_suite_master_url
,
1.0
,
self
.
log
,
1.0
,
DummyLogger
(
self
.
log
)
,
self
.
__argumentNamespace
.
test_result_path
,
self
.
__argumentNamespace
.
test_result_path
,
self
.
__argumentNamespace
.
node_title
,
self
.
__argumentNamespace
.
node_title
,
self
.
__argumentNamespace
.
revision
self
.
__argumentNamespace
.
revision
...
...
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