summaryrefslogtreecommitdiffstats
path: root/chrome/test/ui/history_uitest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/ui/history_uitest.cc')
-rw-r--r--chrome/test/ui/history_uitest.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/test/ui/history_uitest.cc b/chrome/test/ui/history_uitest.cc
index 931024f..25ee75e 100644
--- a/chrome/test/ui/history_uitest.cc
+++ b/chrome/test/ui/history_uitest.cc
@@ -37,7 +37,6 @@
const char kTestCompleteCookie[] = "status";
const char kTestCompleteSuccess[] = "OK";
-const int kShortWaitTimeout = 5 * 1000;
class HistoryTester : public UITest {
protected:
@@ -54,5 +53,5 @@ TEST_F(HistoryTester, VerifyHistoryLength) {
GURL url = GetTestUrl(L"History", test_case);
NavigateToURL(url);
WaitForFinish("History_Length_Test", "1", url, kTestCompleteCookie,
- kTestCompleteSuccess, kShortWaitTimeout);
+ kTestCompleteSuccess, action_max_timeout_ms());
}