summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2017-04-26 12:24:29 +0200
committerAaron Bohy <aab@odoo.com>2017-04-26 12:25:35 +0200
commite950f60fefc6cecaa27a5c8f79466bc845ae9b07 (patch)
treef253f83896239d89eacbf2879b9b5fc6f4fb0f83
parentf9644d3698b05648fbce5fd18347e4c86cfbd1f3 (diff)
[FIX] web: increase timeout of test_01_js
This test executes the QUnit js test suite. Since the new views, this suite keeps growing, which is good. The default timeout for phantomjs tests is 60 seconds, which starts to be tight for test_01_js when the runbot is overloaded. So this commit increases the timeout of this test to 120 seconds.
-rw-r--r--addons/web/tests/test_js.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/tests/test_js.py b/addons/web/tests/test_js.py
index 60afc812551..abb4e5b9aa8 100644
--- a/addons/web/tests/test_js.py
+++ b/addons/web/tests/test_js.py
@@ -10,4 +10,4 @@ class WebSuite(odoo.tests.HttpCase):
at_install = False
def test_01_js(self):
- self.phantom_js('/web/tests?mod=web', "", "", login='admin')
+ self.phantom_js('/web/tests?mod=web', "", "", login='admin', timeout=120)