summaryrefslogtreecommitdiffstats
path: root/net/base
diff options
context:
space:
mode:
authorvandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-28 20:50:57 +0000
committervandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-28 20:50:57 +0000
commitc8619f55658bfdbac62ce4d4d391b20f6935a8d5 (patch)
tree11b37a32f89cf9569725fb55b3d4784a64b6ba66 /net/base
parent45da6c72f2d0d50f2acbf7dc306108c861b71aa4 (diff)
downloadchromium_src-c8619f55658bfdbac62ce4d4d391b20f6935a8d5.zip
chromium_src-c8619f55658bfdbac62ce4d4d391b20f6935a8d5.tar.gz
chromium_src-c8619f55658bfdbac62ce4d4d391b20f6935a8d5.tar.bz2
Missed review comment. Minor change.
BUG=24687 TEST=unit tests still pass git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30387 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base')
-rw-r--r--net/base/cookie_monster_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/base/cookie_monster_unittest.cc b/net/base/cookie_monster_unittest.cc
index 2befaae..8fda8db 100644
--- a/net/base/cookie_monster_unittest.cc
+++ b/net/base/cookie_monster_unittest.cc
@@ -833,7 +833,7 @@ TEST(CookieMonsterTest, TestLastAccess) {
EXPECT_TRUE(last_access_date == GetFirstCookieAccessDate(cm));
// Reading after a short wait should update the access date.
- PlatformThread::Sleep(kLastAccessThresholdMilliseconds + 10);
+ PlatformThread::Sleep(kLastAccessThresholdMilliseconds + 20);
EXPECT_EQ("A=B", cm->GetCookies(url_google));
EXPECT_FALSE(last_access_date == GetFirstCookieAccessDate(cm));
}
@@ -878,7 +878,7 @@ TEST(CookieMonsterTest, TestTotalGarbageCollection) {
// always have the most recent access time).
if (!(i % 500)) {
// Ensure the timestamps will be different enough to update.
- PlatformThread::Sleep(kLastAccessThresholdMilliseconds + 10);
+ PlatformThread::Sleep(kLastAccessThresholdMilliseconds + 20);
EXPECT_EQ("a=b", cm->GetCookies(sticky_cookie));
}
}