summaryrefslogtreecommitdiffstats
path: root/chrome/common/logging_chrome_uitest.cc
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-22 16:11:24 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-22 16:11:24 +0000
commitde1b4d260e0d86aacdd907af9bb4fb51ee86c2ec (patch)
tree6388385a2263b9c33c81dc0f3cfd8105f2db277a /chrome/common/logging_chrome_uitest.cc
parente45046ee3be4feca86640ac5ee82c5f9737f421d (diff)
downloadchromium_src-de1b4d260e0d86aacdd907af9bb4fb51ee86c2ec.zip
chromium_src-de1b4d260e0d86aacdd907af9bb4fb51ee86c2ec.tar.gz
chromium_src-de1b4d260e0d86aacdd907af9bb4fb51ee86c2ec.tar.bz2
Speculative patch to fix flakiness in RendererCrashTest.Crash.
If that doesn't fix it, then maybe the crash_service.exe isn't running? TEST=none BUG=22569 Review URL: http://codereview.chromium.org/215048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26814 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/logging_chrome_uitest.cc')
-rw-r--r--chrome/common/logging_chrome_uitest.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/common/logging_chrome_uitest.cc b/chrome/common/logging_chrome_uitest.cc
index fd3fcc6..0e023ae 100644
--- a/chrome/common/logging_chrome_uitest.cc
+++ b/chrome/common/logging_chrome_uitest.cc
@@ -111,6 +111,7 @@ TEST_F(RendererCrashTest, Crash) {
expected_crashes_ = 0;
} else {
scoped_refptr<BrowserProxy> browser(automation()->GetBrowserWindow(0));
+ ASSERT_TRUE(browser.get());
ASSERT_TRUE(browser->WaitForTabCountToBecome(1, action_max_timeout_ms()));
expected_crashes_ = 1;
}