Commit ddb4de85 authored by Nicolas Wavrant's avatar Nicolas Wavrant

test

parent fd8ec2e9
...@@ -64,6 +64,7 @@ class ERP5TestSuite(SlaprunnerTestSuite): ...@@ -64,6 +64,7 @@ class ERP5TestSuite(SlaprunnerTestSuite):
data = self._connectToSlaprunner( data = self._connectToSlaprunner(
resource='getConnectionParameter/slappart7' resource='getConnectionParameter/slappart7'
) )
self.logger.info('Nicolas: data retrieved in _getERP5Url is : %s' % data)
url = json.loads(json.loads(data)['_'])['default-v6'] url = json.loads(json.loads(data)['_'])['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
...@@ -230,9 +231,16 @@ class ERP5TestSuite(SlaprunnerTestSuite): ...@@ -230,9 +231,16 @@ class ERP5TestSuite(SlaprunnerTestSuite):
self._login() self._login()
self._waitForSoftwareBuild() self._waitForSoftwareBuild()
self._deployInstance() self._deployInstance()
# TEST : added by Nicolas
self._deployInstance()
self._deployInstance()
self._deployInstance()
time.sleep(60) time.sleep(60)
self._editHAProxyconfiguration() self._editHAProxyconfiguration()
new_data = self._getCreatedERP5Document() new_data = self._getCreatedERP5Document()
if new_data == self.data: if new_data == self.data:
......
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