Commit 8bda3798 authored by shess@chromium.org's avatar shess@chromium.org

Disable QuotaMananger tests which rely on precise time.

The tests were storing time values in SQLite, and different inserts
were all the same.  Previous version of SQLite was returning them in
the order inserted (test succeeded), current version returns a
different order (test fails).

TBR=kinuko@chromium.org
BUG=83805
TEST=none

Review URL: http://codereview.chromium.org/7067045

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86553 0039d316-1c4b-4281-b951-d872f2087c98
parent cdd8b38d
......@@ -924,7 +924,18 @@ TEST_F(QuotaManagerTest, GetCachedOrigins) {
}
}
TEST_F(QuotaManagerTest, NotifyAndLRUOrigin) {
#if defined(OS_WIN)
// http://crbug.com/83805. Time is too granular for the LRU tests on
// Windows, and a new version of SQLite is returning values in a
// different (implementation-defined and appropriate) order.
#define MAYBE_NotifyAndLRUOrigin DISABLED_NotifyAndLRUOrigin
#define MAYBE_GetLRUOriginWithOriginInUse DISABLED_GetLRUOriginWithOriginInUse
#else
#define MAYBE_NotifyAndLRUOrigin NotifyAndLRUOrigin
#define MAYBE_GetLRUOriginWithOriginInUse GetLRUOriginWithOriginInUse
#endif
TEST_F(QuotaManagerTest, MAYBE_NotifyAndLRUOrigin) {
static const MockOriginData kData[] = {
{ "http://a.com/", kStorageTypeTemporary, 0 },
{ "http://a.com:1/", kStorageTypeTemporary, 0 },
......@@ -963,7 +974,7 @@ TEST_F(QuotaManagerTest, NotifyAndLRUOrigin) {
EXPECT_EQ("http://c.com/", lru_origin().spec());
}
TEST_F(QuotaManagerTest, GetLRUOriginWithOriginInUse) {
TEST_F(QuotaManagerTest, MAYBE_GetLRUOriginWithOriginInUse) {
static const MockOriginData kData[] = {
{ "http://a.com/", kStorageTypeTemporary, 0 },
{ "http://a.com:1/", kStorageTypeTemporary, 0 },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment