Commit 1c8ba070 authored by Rafael Monnerat's avatar Rafael Monnerat

resiliencytest: Restart haproxy and call startAllPartitions 2 times

  In case haproxy were not working before.
parent 515140ed
......@@ -98,10 +98,14 @@ class ERP5TestSuite(SlaprunnerTestSuite):
# Restart HAProxy
self._connectToSlaprunner(
resource='/startStopProccess/name/slappart7:haproxy/cmd/STOPPED'
resource='/startStopProccess/name/slappart7:haproxy/cmd/RESTART'
)
time.sleep(15)
for i in range(1):
time.sleep(15)
# In case erp5 bootstrap (in erp5-cluster) couldn't connect to zope through HAProxy
self._connectToSlaprunner('/startAllPartition')
def _getCreatedERP5Document(self):
""" Fetch and return content of ERP5 document created above."""
......
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