summaryrefslogtreecommitdiffstats
path: root/chrome/test/reliability
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/reliability')
-rw-r--r--chrome/test/reliability/page_load_test.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/chrome/test/reliability/page_load_test.cc b/chrome/test/reliability/page_load_test.cc
index 16b32b5..353c599 100644
--- a/chrome/test/reliability/page_load_test.cc
+++ b/chrome/test/reliability/page_load_test.cc
@@ -102,8 +102,6 @@ bool save_debug_log = false;
std::wstring chrome_log_path;
std::wstring v8_log_path;
-int kWaitForActionMsec = 4000;
-
class PageLoadTest : public UITest {
public:
enum NavigationResult {
@@ -160,13 +158,13 @@ class PageLoadTest : public UITest {
automation()->GetWindowForBrowser(browser.get()));
if (window.get()) {
bool activation_timeout;
- browser->BringToFrontWithTimeout(kWaitForActionMsec,
+ browser->BringToFrontWithTimeout(action_max_timeout_ms(),
&activation_timeout);
if (!activation_timeout) {
window->SimulateOSKeyPress(VK_NEXT, 0);
- Sleep(kWaitForActionMsec);
+ Sleep(sleep_timeout_ms());
window->SimulateOSKeyPress(VK_NEXT, 0);
- Sleep(kWaitForActionMsec);
+ Sleep(sleep_timeout_ms());
}
}
}