Skip to content

Commit

Permalink
[FIX] tests: bump url_open timeout
Browse files Browse the repository at this point in the history
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#99198

Signed-off-by: Xavier Dollé (xdo) <[email protected]>
  • Loading branch information
Xavier-Do committed Aug 30, 2022
1 parent 5e754ff commit bfa8da6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion odoo/tests/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -1679,7 +1679,7 @@ def terminate_browser(cls):
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:
Expand Down

0 comments on commit bfa8da6

Please sign in to comment.