Commit da43c922 authored by thestig@chromium.org's avatar thestig@chromium.org

Valgrind: Increase timeouts for browser tests.

BUG=none
TEST=none
TBR=timurrrr
Review URL: https://chromiumcodereview.appspot.com/10406026

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137634 0039d316-1c4b-4281-b951-d872f2087c98
parent a77229fd
......@@ -312,6 +312,13 @@ class ChromeTests:
UI_TEST_ARGS = ["--ui-test-action-timeout=60000",
"--ui-test-action-max-timeout=150000"]
# TODO(thestig) fine-tune these values.
# Valgrind timeouts are in seconds.
BROWSER_VALGRIND_ARGS = ["--timeout=50000", "--trace_children", "--indirect"]
# Browser test timeouts are in milliseconds.
BROWSER_TEST_ARGS = ["--ui-test-action-timeout=200000",
"--ui-test-action-max-timeout=400000"]
def TestAutomatedUI(self):
return self.SimpleTest("chrome", "automated_ui_tests",
valgrind_test_args=self.UI_VALGRIND_ARGS,
......@@ -319,8 +326,8 @@ class ChromeTests:
def TestBrowser(self):
return self.SimpleTest("chrome", "browser_tests",
valgrind_test_args=self.UI_VALGRIND_ARGS,
cmd_args=self.UI_TEST_ARGS)
valgrind_test_args=self.BROWSER_VALGRIND_ARGS,
cmd_args=self.BROWSER_TEST_ARGS)
def TestInteractiveUI(self):
return self.SimpleTest("chrome", "interactive_ui_tests",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment