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

Unified Diff: content/browser/renderer_host/render_widget_host_unittest.cc

Issue 8533015: Increase timer in render_widget_host_unittest to reduce flakiness in valgrind (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: test expectations Created 9 years, 1 month 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 | tools/valgrind/gtest_exclude/unit_tests.gtest_linux.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_unittest.cc
diff --git a/content/browser/renderer_host/render_widget_host_unittest.cc b/content/browser/renderer_host/render_widget_host_unittest.cc
index 8d9ff26d039e9237843ad7f6f44afd374be5c7e4..a0b52450e4c3350304dcd4584e5f67aa4b86cdd5 100644
--- a/content/browser/renderer_host/render_widget_host_unittest.cc
+++ b/content/browser/renderer_host/render_widget_host_unittest.cc
@@ -749,7 +749,7 @@ TEST_F(RenderWidgetHostTest, StopAndStartHangMonitorTimeout) {
// Wait long enough for first timeout and see if it fired.
MessageLoop::current()->PostDelayedTask(FROM_HERE,
- new MessageLoop::QuitTask(), 10);
+ new MessageLoop::QuitTask(), 40);
jam 2011/11/15 00:14:03 this is really really flaky, independent of the ti
Charlie Reis 2011/11/15 00:23:05 The point of this test is to test a timer. If you
jam 2011/11/15 00:37:58 Excuse the naive question, but if the point of the
Charlie Reis 2011/11/15 00:45:05 Hopefully Timer is already tested there. The Rend
Paweł Hajdan Jr. 2011/11/15 09:01:31 Thanks for adding me. I don't know the code tested
MessageLoop::current()->Run();
EXPECT_TRUE(host_->unresponsive_timer_fired());
}
« no previous file with comments | « no previous file | tools/valgrind/gtest_exclude/unit_tests.gtest_linux.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698