From c8619f55658bfdbac62ce4d4d391b20f6935a8d5 Mon Sep 17 00:00:00 2001 From: "vandebo@chromium.org" Date: Wed, 28 Oct 2009 20:50:57 +0000 Subject: 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 --- net/base/cookie_monster_unittest.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'net') 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)); } } -- cgit v1.1