summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-10 18:10:00 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-10 18:10:00 +0000
commit10b2984f89e819963d8b458f602329605c175f86 (patch)
treeaaa93f24063f8ad15fd3575ebe5ad3b831fd083b
parent9dc193924d880f210ec35ce81e9c05e933d1980f (diff)
downloadchromium_src-10b2984f89e819963d8b458f602329605c175f86.zip
chromium_src-10b2984f89e819963d8b458f602329605c175f86.tar.gz
chromium_src-10b2984f89e819963d8b458f602329605c175f86.tar.bz2
Remove flakiness-inducing part of AutomationProxyTest.NavigateToURLWithTimeout1.
It was loading an URL with big timeout and expecting it not to timeout (ok-ish), but then it loaded the *same* URL with a small timeout and expecting it to timeout. It turns out that reloading same URL can be really quick, especially on Linux. And we're testing the scenario when it doesn't timeout in NavigateToURLWithTimeout2. It just doesn't "preload" the page. TEST=none BUG=none Review URL: http://codereview.chromium.org/149461 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20386 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/test/automation/automation_proxy_uitest.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome/test/automation/automation_proxy_uitest.cc b/chrome/test/automation/automation_proxy_uitest.cc
index 5061cd4..261bdfc 100644
--- a/chrome/test/automation/automation_proxy_uitest.cc
+++ b/chrome/test/automation/automation_proxy_uitest.cc
@@ -286,10 +286,6 @@ TEST_F(AutomationProxyTest, NavigateToURLWithTimeout1) {
std::wstring title;
ASSERT_TRUE(tab->GetTabTitle(&title));
ASSERT_STREQ(L"Title Of Awesomeness", title.c_str());
-
- tab->NavigateToURLWithTimeout(net::FilePathToFileURL(filename),
- 1, &is_timeout);
- ASSERT_TRUE(is_timeout);
}
TEST_F(AutomationProxyTest, NavigateToURLWithTimeout2) {