[FIX] tests: bump url_open timeout
Some tests are randomly failling because /web takes more than 10 seconds to load. A future pr will speedup /web but waiting for that a small bump of the timeout should help. closes odoo/odoo#99198 Signed-off-by: Xavier Dollé (xdo) <xdo@odoo.com>
This commit is contained in:
@@ -1679,7 +1679,7 @@ class HttpCase(TransactionCase):
|
||||
cls.browser.stop()
|
||||
cls.browser = None
|
||||
|
||||
def url_open(self, url, data=None, files=None, timeout=10, headers=None, allow_redirects=True, head=False):
|
||||
def url_open(self, url, data=None, files=None, timeout=12, headers=None, allow_redirects=True, head=False):
|
||||
if url.startswith('/'):
|
||||
url = self.base_url() + url
|
||||
if head:
|
||||
|
||||
Reference in New Issue
Block a user