Commit 40148ab0 authored by Jérome Perrin's avatar Jérome Perrin

software/erp5/test: don't retry for so long in TestPublishedURLIsReachableMixin

also access urllib3 from its real location
parent e75c97cf
......@@ -36,6 +36,7 @@ import psutil
import requests
import six
import six.moves.urllib.parse
import urllib3
from . import ERP5InstanceTestCase, setUpModule
......@@ -66,8 +67,8 @@ class TestPublishedURLIsReachableMixin(object):
session.mount(
base_url,
requests.adapters.HTTPAdapter(
max_retries=requests.packages.urllib3.util.retry.Retry(
total=60,
max_retries=urllib3.util.retry.Retry(
total=20,
backoff_factor=.5,
status_forcelist=(404, 500, 503))))
......
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