From bfa8da6b3507d0229efc1831df4a09892d1d8497 Mon Sep 17 00:00:00 2001 From: Xavier-Do Date: Tue, 30 Aug 2022 06:16:31 +0000 Subject: [PATCH] [FIX] tests: bump url_open timeout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) --- odoo/tests/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odoo/tests/common.py b/odoo/tests/common.py index aa04bb0d3ed..a7fbb0fe7e5 100644 --- a/odoo/tests/common.py +++ b/odoo/tests/common.py @@ -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: