Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5_fork
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eteri
erp5_fork
Commits
dbf75f4d
Commit
dbf75f4d
authored
Jul 30, 2013
by
Benjamin Blanc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scalability/runScalabilityTestSuite: Fix missing variable initialization
parent
227a1be5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
erp5/util/scalability/runScalabilityTestSuite.py
erp5/util/scalability/runScalabilityTestSuite.py
+7
-0
No files found.
erp5/util/scalability/runScalabilityTestSuite.py
View file @
dbf75f4d
...
...
@@ -14,6 +14,7 @@ import logging.handlers
import
glob
import
urlparse
import
httplib
import
base64
from
erp5.util.benchmark.argument
import
ArgumentType
from
erp5.util.benchmark.performance_tester
import
PerformanceTester
from
erp5.util
import
taskdistribution
...
...
@@ -39,6 +40,12 @@ def getConnection(erp5_url, log):
MAX_INSTALLATION_TIME
=
1200
def
waitFor0PendingActivities
(
erp5_url
,
log
):
start_time
=
time
.
time
()
parsed
=
urlparse
.
urlparse
(
erp5_url
)
user
=
parsed
.
username
;
password
=
parsed
.
password
;
header_dict
=
{
'Authorization'
:
'Basic %s'
%
\
base64
.
encodestring
(
'%s:%s'
%
(
user
,
password
)).
strip
()}
while
MAX_INSTALLATION_TIME
>
time
.
time
()
-
start_time
:
zope_connection
=
getConnection
(
erp5_url
,
log
)
zope_connection
.
request
(
...
...
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