diff options
author | darin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-08 07:56:39 +0000 |
---|---|---|
committer | darin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-08 07:56:39 +0000 |
commit | aa2da5a192e30c5e2c7583597e86adac4d11d14b (patch) | |
tree | fa2eb94672c2e161379ff1c357c7dece379587e7 /chrome/browser/metrics_service_uitest.cc | |
parent | eb2b2d8b73dfcbe5463f180e97a4fe841ca6e440 (diff) | |
download | chromium_src-aa2da5a192e30c5e2c7583597e86adac4d11d14b.zip chromium_src-aa2da5a192e30c5e2c7583597e86adac4d11d14b.tar.gz chromium_src-aa2da5a192e30c5e2c7583597e86adac4d11d14b.tar.bz2 |
Third times a charm! This is an attempt at re-landing r408. This time the UI test is revised to give the browser a chance to notice a crashed tab.
TBR=nsylvain
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@557 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/metrics_service_uitest.cc')
-rw-r--r-- | chrome/browser/metrics_service_uitest.cc | 3 |
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()); |