summaryrefslogtreecommitdiffstats
path: root/chrome/browser/login_prompt_uitest.cc
diff options
context:
space:
mode:
authorvandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-14 21:23:08 +0000
committervandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-14 21:23:08 +0000
commit037d1e192cfbad001946fe026d0460e636fa8e76 (patch)
treea2339aa9965d05cf9c25391c0dc3d277a5e19066 /chrome/browser/login_prompt_uitest.cc
parentad834d2e31e1e7aece26910c12329535d1f2b6e0 (diff)
downloadchromium_src-037d1e192cfbad001946fe026d0460e636fa8e76.zip
chromium_src-037d1e192cfbad001946fe026d0460e636fa8e76.tar.gz
chromium_src-037d1e192cfbad001946fe026d0460e636fa8e76.tar.bz2
Failing fairly often due to tab->NavigateToURL(...) failing.
BUG=55380 TEST=greener tree Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=59417 Review URL: http://codereview.chromium.org/3439003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59427 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/login_prompt_uitest.cc')
-rw-r--r--chrome/browser/login_prompt_uitest.cc10
1 files changed, 9 insertions, 1 deletions
diff --git a/chrome/browser/login_prompt_uitest.cc b/chrome/browser/login_prompt_uitest.cc
index 11315ef..9912dd4 100644
--- a/chrome/browser/login_prompt_uitest.cc
+++ b/chrome/browser/login_prompt_uitest.cc
@@ -121,8 +121,16 @@ TEST_F(LoginPromptTest, TestTwoAuths) {
EXPECT_EQ(ExpectedTitleFromAuth(username_digest_, password_), title);
}
+// http://crbug.com/55380 - NavigateToURL is making this flaky.
+#if defined(OS_WIN)
+#define MAYBE_TestCancelAuth FLAKY_TestCancelAuth
+#elif defined(OS_LINUX)
+#define MAYBE_TestCancelAuth FLAKY_TestCancelAuth
+#else
+#define MAYBE_TestCancelAuth TestCancelAuth
+#endif
// Test that cancelling authentication works.
-TEST_F(LoginPromptTest, TestCancelAuth) {
+TEST_F(LoginPromptTest, MAYBE_TestCancelAuth) {
ASSERT_TRUE(test_server_.Start());
scoped_refptr<TabProxy> tab(GetActiveTab());