Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1576)

Unified Diff: Tools/Scripts/webkitpy/layout_tests/port/browser_test.py

Issue 466223002: Increase timeout for Mac when running print preview tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Modified Mac unittest to reflect changes to the timeout on mac. Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Tools/Scripts/webkitpy/layout_tests/port/browser_test_unittest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/Scripts/webkitpy/layout_tests/port/browser_test.py
diff --git a/Tools/Scripts/webkitpy/layout_tests/port/browser_test.py b/Tools/Scripts/webkitpy/layout_tests/port/browser_test.py
index 5d5dfd098fa849a1257b19f0116861a4cdc63f04..3f7845e7d4b13cb3bc204d0bfe701cb2d48db408 100644
--- a/Tools/Scripts/webkitpy/layout_tests/port/browser_test.py
+++ b/Tools/Scripts/webkitpy/layout_tests/port/browser_test.py
@@ -80,6 +80,13 @@ class BrowserTestMacPort(BrowserTestPortOverrides, mac.MacPort):
def _path_to_driver(self, configuration=None):
return self._build_path_with_configuration(configuration, self.driver_name())
+ def default_timeout_ms(self):
+ timeout_ms = 20 * 1000
+ if self.get_option('configuration') == 'Debug': # pylint: disable=E1101
+ # Debug is usually 2x-3x slower than Release.
+ return 3 * timeout_ms
+ return timeout_ms
+
class BrowserTestWinPort(BrowserTestPortOverrides, win.WinPort):
def default_timeout_ms(self):
« no previous file with comments | « no previous file | Tools/Scripts/webkitpy/layout_tests/port/browser_test_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698