summaryrefslogtreecommitdiffstats
path: root/chrome/common/logging_chrome_uitest.cc
diff options
context:
space:
mode:
authorgavinp@chromium.org <gavinp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-04 01:36:56 +0000
committergavinp@chromium.org <gavinp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-04 01:36:56 +0000
commitae7d85482dd44ffd2061fd6dc692f4d1ef769d18 (patch)
treebdd741ff6046d9cb3e6dd9de9c9b3c16e4d98efb /chrome/common/logging_chrome_uitest.cc
parent76b33b3711aaa11fb7b51c069a61d880a88d4e7c (diff)
downloadchromium_src-ae7d85482dd44ffd2061fd6dc692f4d1ef769d18.zip
chromium_src-ae7d85482dd44ffd2061fd6dc692f4d1ef769d18.tar.gz
chromium_src-ae7d85482dd44ffd2061fd6dc692f4d1ef769d18.tar.bz2
Revert 58563 - GTTF: Make WaitForTabCountToBecome automation call not Sleep.
(unfortunately, Mac & Windows started failing tab perf tests on this change) Sleeping is an unreliable method to wait for things. Instead, we set up an observer. BUG=none TEST=none Review URL: http://codereview.chromium.org/3300011 TBR=phajdan.jr@chromium.org Review URL: http://codereview.chromium.org/3344009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58566 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/logging_chrome_uitest.cc')
-rw-r--r--chrome/common/logging_chrome_uitest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/logging_chrome_uitest.cc b/chrome/common/logging_chrome_uitest.cc
index 072b8cc..328a5a49 100644
--- a/chrome/common/logging_chrome_uitest.cc
+++ b/chrome/common/logging_chrome_uitest.cc
@@ -183,7 +183,7 @@ TEST_F(RendererCrashTest, Crash) {
} else {
scoped_refptr<BrowserProxy> browser(automation()->GetBrowserWindow(0));
ASSERT_TRUE(browser.get());
- ASSERT_TRUE(browser->WaitForTabCountToBecome(1));
+ ASSERT_TRUE(browser->WaitForTabCountToBecome(1, action_max_timeout_ms()));
expected_crashes_ = EXPECTED_CRASH_CRASHES;
}
}