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
571bf721
Commit
571bf721
authored
Jul 09, 2013
by
Benjamin Blanc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
util: runScalabilityTestSuite: add path for log
parent
971f8ef0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
erp5/util/scalability/runScalabilityTestSuite.py
erp5/util/scalability/runScalabilityTestSuite.py
+4
-2
No files found.
erp5/util/scalability/runScalabilityTestSuite.py
View file @
571bf721
...
@@ -43,7 +43,7 @@ class ScalabilityLauncher(object):
...
@@ -43,7 +43,7 @@ class ScalabilityLauncher(object):
logger
=
logging
.
getLogger
(
'runScalabilityTestSuite'
)
logger
=
logging
.
getLogger
(
'runScalabilityTestSuite'
)
logger
.
addHandler
(
logging
.
NullHandler
())
logger
.
addHandler
(
logging
.
NullHandler
())
file_handler
=
logging
.
handlers
.
RotatingFileHandler
(
file_handler
=
logging
.
handlers
.
RotatingFileHandler
(
filename
=
self
.
__argumentNamespace
.
log_path
,
filename
=
self
.
__argumentNamespace
.
log_path
+
"runScalabilityTestSuite.log"
,
maxBytes
=
20000000
,
backupCount
=
4
)
maxBytes
=
20000000
,
backupCount
=
4
)
file_handler
.
setFormatter
(
formatter
)
file_handler
.
setFormatter
(
formatter
)
logger
.
addHandler
(
file_handler
)
logger
.
addHandler
(
file_handler
)
...
@@ -144,7 +144,9 @@ class ScalabilityLauncher(object):
...
@@ -144,7 +144,9 @@ class ScalabilityLauncher(object):
'1'
,
'1'
,
test_suites
,
test_suites
,
'--benchmark-path-list'
,
benchmark_path_list
,
'--benchmark-path-list'
,
benchmark_path_list
,
'--users-file-path'
,
user_file_path
'--users-file-path'
,
user_file_path
,
'--filename-prefix'
,
"performance_tester_erp5_%s_"
%
(
current_test
.
title
),
'--report-directory'
,
self
.
__argumentNamespace
.
log_path
,
])
])
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
()
...
...
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