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

Unified Diff: chrome/test/ui/ui_test.cc

Issue 3008002: GTTF: Keep the train fast, lower the UI test timeouts. (Closed)
Patch Set: Created 10 years, 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/ui/ui_test.cc
diff --git a/chrome/test/ui/ui_test.cc b/chrome/test/ui/ui_test.cc
index 235616ac91070a52651e924d0424bd1fe168614b..a4b6674e5d5e5ceef90bc78737008b79e0c07fa7 100644
--- a/chrome/test/ui/ui_test.cc
+++ b/chrome/test/ui/ui_test.cc
@@ -53,11 +53,11 @@ using base::TimeTicks;
// Delay to let browser complete a requested action.
static const int kWaitForActionMsec = 2000;
-static const int kWaitForActionMaxMsec = 60000;
+static const int kWaitForActionMaxMsec = 15000;
// Command execution timeout passed to AutomationProxy.
-static const int kCommandExecutionTimeout = 30000;
+static const int kCommandExecutionTimeout = 15000;
// Delay to let the browser shut down before trying more brutal methods.
-static const int kWaitForTerminateMsec = 30000;
+static const int kWaitForTerminateMsec = 15000;
// Passed as value of kTestType.
static const char kUITestType[] = "ui";
@@ -81,7 +81,7 @@ bool UITestBase::dump_histograms_on_exit_ = false;
bool UITestBase::enable_dcheck_ = false;
bool UITestBase::silent_dump_on_dcheck_ = false;
bool UITestBase::disable_breakpad_ = false;
-int UITestBase::timeout_ms_ = 20 * 60 * 1000;
+int UITestBase::timeout_ms_ = 5 * 60 * 1000;
std::wstring UITestBase::js_flags_ = L"";
std::wstring UITestBase::log_level_ = L"";
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698