summaryrefslogtreecommitdiffstats
path: root/chrome/browser/metrics_service_uitest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/metrics_service_uitest.cc')
-rw-r--r--chrome/browser/metrics_service_uitest.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/metrics_service_uitest.cc b/chrome/browser/metrics_service_uitest.cc
index 4d75529..f654da0 100644
--- a/chrome/browser/metrics_service_uitest.cc
+++ b/chrome/browser/metrics_service_uitest.cc
@@ -118,6 +118,9 @@ TEST_F(MetricsServiceTest, CrashRenderers) {
ASSERT_NE(0, process_id);
process_util::KillProcess(process_id, 0xc0000005, true); // Fake Access Violation.
+ // Give the browser a chance to notice the crashed tab.
+ Sleep(1000);
+
QuitBrowser();
scoped_ptr<PrefService> local_state(GetLocalState());