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

Unified Diff: chrome_frame/test/reliability/page_load_test.cc

Issue 10007043: Attempt to fix ChromeFrameTestWithWebServer tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added retry logic for WidgetModeIE_Version. Created 8 years, 8 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
Index: chrome_frame/test/reliability/page_load_test.cc
diff --git a/chrome_frame/test/reliability/page_load_test.cc b/chrome_frame/test/reliability/page_load_test.cc
index 7dd88e63a22cd793701e7afb08b3b2d3252ede7b..99b44dea6f99aaed55ddd579dfc7f80eff81c17a 100644
--- a/chrome_frame/test/reliability/page_load_test.cc
+++ b/chrome_frame/test/reliability/page_load_test.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
@@ -219,7 +219,7 @@ class PageLoadTest : public testing::Test {
ie_event_sink.Attach(web_browser2);
hr = ie_event_sink.Navigate(UTF8ToWide(url.spec()));
if (SUCCEEDED(hr)) {
- message_loop.RunFor(g_timeout_seconds);
+ message_loop.RunFor(base::TimeDelta::FromSeconds(g_timeout_seconds));
if (!message_loop.WasTimedOut())
metrics.result = NAVIGATION_SUCCESS;
}

Powered by Google App Engine
This is Rietveld 408576698