Commit 99523469 authored by Yusei Tahara's avatar Yusei Tahara

Use the default port number.

parent 4dcac66b
...@@ -32,8 +32,7 @@ class ERP5_scalability(): ...@@ -32,8 +32,7 @@ class ERP5_scalability():
if frontend[0] == ZOPE_USER_FAMILY: if frontend[0] == ZOPE_USER_FAMILY:
frontend_address = frontend[1] frontend_address = frontend[1]
break break
port = 4443 if urlparse.urlparse(frontend_address).scheme == 'https' else 8080 return "%s/erp5" % (frontend_address)
return "%s:%d/erp5" % (frontend_address, port)
def getScalabilityTestMetricUrl(self, instance_information_dict, **kw): def getScalabilityTestMetricUrl(self, instance_information_dict, **kw):
frontend_address = self.getScalabilityTestUrl(instance_information_dict) frontend_address = self.getScalabilityTestUrl(instance_information_dict)
......
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