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
ebb56215
Commit
ebb56215
authored
Jul 22, 2013
by
Benjamin Blanc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scalability: Fix typo in to current_test_number initilization
parent
57a62d33
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
erp5/util/scalability/runScalabilityTestSuite.py
erp5/util/scalability/runScalabilityTestSuite.py
+3
-3
No files found.
erp5/util/scalability/runScalabilityTestSuite.py
View file @
ebb56215
...
@@ -250,13 +250,13 @@ class ScalabilityLauncher(object):
...
@@ -250,13 +250,13 @@ class ScalabilityLauncher(object):
self
.
log
(
"Test Case %s is running..."
%
(
current_test
.
title
))
self
.
log
(
"Test Case %s is running..."
%
(
current_test
.
title
))
try
:
try
:
current_test
=
int
(
current_test
.
title
)
current_test
_duration
=
int
(
current_test
.
title
)
test_duration
=
suite
.
getTestDuration
(
current_test
)
test_duration
=
suite
.
getTestDuration
(
current_test
_number
)
benchmark_path_list
=
os
.
path
.
join
(
self
.
__argumentNamespace
.
erp5_location
,
test_path
)
benchmark_path_list
=
os
.
path
.
join
(
self
.
__argumentNamespace
.
erp5_location
,
test_path
)
#TODO: generate a basic user file with all scalability users.
#TODO: generate a basic user file with all scalability users.
user_file_path
=
os
.
path
.
join
(
self
.
__argumentNamespace
.
erp5_location
,
test_path
)
user_file_path
=
os
.
path
.
join
(
self
.
__argumentNamespace
.
erp5_location
,
test_path
)
tester_path
=
self
.
__argumentNamespace
.
runner_path
tester_path
=
self
.
__argumentNamespace
.
runner_path
user_number
=
suite
.
getUserNumber
(
current_test
)
user_number
=
suite
.
getUserNumber
(
current_test
_number
)
self
.
log
(
"user_number: %s"
str
(
user_number
))
self
.
log
(
"user_number: %s"
str
(
user_number
))
self
.
log
(
"test_duration: %ss"
str
(
test_duration
))
self
.
log
(
"test_duration: %ss"
str
(
test_duration
))
...
...
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