Commit be3ec684 authored by Jérome Perrin's avatar Jérome Perrin

software/erp5/test: retry more times for caucase

parent 6b3f6eb6
...@@ -108,7 +108,7 @@ class TestFrontendXForwardedFor(ERP5InstanceTestCase): ...@@ -108,7 +108,7 @@ class TestFrontendXForwardedFor(ERP5InstanceTestCase):
stdout=subprocess.PIPE, stdout=subprocess.PIPE,
stderr=subprocess.STDOUT, stderr=subprocess.STDOUT,
) )
for _ in range(10): for _ in range(30):
try: try:
if requests.get(cls.frontend_caucased_url).status_code == 200: if requests.get(cls.frontend_caucased_url).status_code == 200:
break break
...@@ -185,7 +185,7 @@ class TestFrontendXForwardedFor(ERP5InstanceTestCase): ...@@ -185,7 +185,7 @@ class TestFrontendXForwardedFor(ERP5InstanceTestCase):
result = caucase_process.communicate() result = caucase_process.communicate()
csr_id = result[0].split()[0] csr_id = result[0].split()[0]
for _ in range(10): for _ in range(30):
if not subprocess.call( if not subprocess.call(
cas_args + [ cas_args + [
'--get-crt', csr_id, frontend_service_key, '--get-crt', csr_id, frontend_service_key,
......
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