Commit b7194616 authored by Nicolas Wavrant's avatar Nicolas Wavrant

resiliencytest: get ERP5 connection paramater from slappart0

As in webrunner slappart0 is always the root instance and
all needed parameters are bubbled up to it
parent 28019db4
...@@ -62,9 +62,9 @@ class ERP5TestSuite(SlaprunnerTestSuite): ...@@ -62,9 +62,9 @@ class ERP5TestSuite(SlaprunnerTestSuite):
but connection parameter of what is inside of webrunner. but connection parameter of what is inside of webrunner.
""" """
data = self._connectToSlaprunner( data = self._connectToSlaprunner(
resource='getConnectionParameter/slappart7' resource='getConnectionParameter/slappart0'
) )
url = json.loads(json.loads(data)['_'])['default-v6'] url = json.loads(json.loads(data)['_'])['family-default-v6']
self.logger.info('Retrieved erp5 url is:\n%s' % url) self.logger.info('Retrieved erp5 url is:\n%s' % url)
return url return url
......
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