Commit 0a833853 authored by Benjamin Blanc's avatar Benjamin Blanc

fixup! runScalabilityTestSuite: Get generated documents number from ERP5 instance

parent b1f8e658
......@@ -88,6 +88,11 @@ def getCreatedDocumentNumberFromERP5(erp5_url, log):
"""
log("count docs number from ERP5 instance")
count_retry = 0
parsed = urlparse.urlparse(erp5_url)
user = parsed.username;
password = parsed.password;
header_dict = {'Authorization': 'Basic %s' % \
base64.encodestring('%s:%s' % (user, password)).strip()}
zope_connection = getConnection(erp5_url, log)
while count_retry < 100 :
try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment