summaryrefslogtreecommitdiffstats
path: root/net/base
diff options
context:
space:
mode:
authordhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-06 21:13:04 +0000
committerdhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-06 21:13:04 +0000
commitde53d806d53a7a3387ba7f8031fcf631aa0538de (patch)
treec3876ce9296ba001e6c665823993926b3a002179 /net/base
parente44487fc3178a1a3760c6778944309a29b42d08d (diff)
downloadchromium_src-de53d806d53a7a3387ba7f8031fcf631aa0538de.zip
chromium_src-de53d806d53a7a3387ba7f8031fcf631aa0538de.tar.gz
chromium_src-de53d806d53a7a3387ba7f8031fcf631aa0538de.tar.bz2
CookieMonsterTest.TestHostGarbageCollection fails net_unittests on Modules XP
Adding FLAKY designation to this test. http://build.chromium.org/buildbot/waterfall/builders/Modules%20XP/builds/35620/steps/net_unittests/logs/stdio [ OK ] CookieMonsterTest.TestLastAccess (219 ms) [ RUN ] CookieMonsterTest.TestHostGarbageCollection .\base\cookie_monster_unittest.cc(1080): error: Expected: ((CountInString(cookies_general, '=') + CountInString(cookies_specific, '='))) <= (domain_max_cookies), actual: 181 vs 180 .\base\cookie_monster_unittest.cc(1080): error: Expected: ((CountInString(cookies_general, '=') + CountInString(cookies_specific, '='))) <= (domain_max_cookies), actual: 183 vs 180 .\base\cookie_monster_unittest.cc(1080): error: Expected: ((CountInString(cookies_general, '=') + CountInString(cookies_specific, '='))) <= (domain_max_cookies), actual: 185 vs 180 .\base\cookie_monster_unittest.cc(1080): error: Expected: ((CountInString(cookies_general, '=') + CountInString(cookies_specific, '='))) <= (domain_max_cookies), actual: 187 vs 180 .\base\cookie_monster_unittest.cc(1080): error: Expected: ((CountInString(cookies_general, '=') + CountInString(cookies_specific, '='))) <= (domain_max_cookies), actual: 189 vs 180 .\base\cookie_monster_unittest.cc(1080): error: Expected: ((CountInString(cookies_general, '=') + CountInString(cookies_specific, '='))) <= (domain_max_cookies), actual: 191 vs 180 .\base\cookie_monster_unittest.cc(1080): error: Expected: ((CountInString(cookies_general, '=') + CountInString(cookies_specific, '='))) <= (domain_max_cookies), actual: 193 vs 180 .\base\cookie_monster_unittest.cc(1080): error: Expected: ((CountInString(cookies_general, '=') + CountInString(cookies_specific, '='))) <= (domain_max_cookies), actual: 195 vs 180 .\base\cookie_monster_unittest.cc(1080): error: Expected: ((CountInString(cookies_general, '=') + CountInString(cookies_specific, '='))) <= (domain_max_cookies), actual: 197 vs 180 .\base\cookie_monster_unittest.cc(1080): error: Expected: ((CountInString(cookies_general, '=') + CountInString(cookies_specific, '='))) <= (domain_max_cookies), actual: 199 vs 180 [ FAILED ] CookieMonsterTest.TestHostGarbageCollection (219 ms) [ RUN ] CookieMonsterTest.NetUtilCookieTest BUG=58197 TEST=CookieMonsterTest.MAYBE_TestHostGarbageCollection TBR=rdsmith@chromium.org Review URL: http://codereview.chromium.org/3610014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61699 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base')
-rw-r--r--net/base/cookie_monster_unittest.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/net/base/cookie_monster_unittest.cc b/net/base/cookie_monster_unittest.cc
index f4cca57..747f4fc 100644
--- a/net/base/cookie_monster_unittest.cc
+++ b/net/base/cookie_monster_unittest.cc
@@ -1106,7 +1106,14 @@ static void TestHostGarbageCollectHelper(
}
}
-TEST(CookieMonsterTest, TestHostGarbageCollection) {
+// Flaky on Win only. http://crbug.com/58197
+#if defined(OS_WIN)
+#define MAYBE_TestHostGarbageCollection FLAKY_TestHostGarbageCollection
+#else
+#define MAYBE_TestHostGarbageCollection TestHostGarbageCollection
+#endif
+
+TEST(CookieMonsterTest, MAYBE_TestHostGarbageCollection) {
TestHostGarbageCollectHelper(
CookieMonster::kDomainMaxCookies, CookieMonster::kDomainPurgeCookies,
CookieMonster::EKS_KEEP_RECENT_AND_PURGE_ETLDP1);