Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(236)

Side by Side Diff: content/browser/indexed_db/indexed_db_browsertest.cc

Issue 2023763007: Disable IndexedDBBrowserTest.CanDeleteWhenOverQuotaTest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add comment Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <stddef.h> 5 #include <stddef.h>
6 #include <stdint.h> 6 #include <stdint.h>
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 SimpleTest(GetTestUrl("indexeddb", "database_test.html")); 423 SimpleTest(GetTestUrl("indexeddb", "database_test.html"));
424 base::FilePath leveldb_dir(FILE_PATH_LITERAL("file__0.indexeddb.leveldb")); 424 base::FilePath leveldb_dir(FILE_PATH_LITERAL("file__0.indexeddb.leveldb"));
425 base::FilePath log_file(FILE_PATH_LITERAL("LOG")); 425 base::FilePath log_file(FILE_PATH_LITERAL("LOG"));
426 base::FilePath log_file_path = 426 base::FilePath log_file_path =
427 GetContext()->data_path().Append(leveldb_dir).Append(log_file); 427 GetContext()->data_path().Append(leveldb_dir).Append(log_file);
428 int64_t size; 428 int64_t size;
429 EXPECT_TRUE(base::GetFileSize(log_file_path, &size)); 429 EXPECT_TRUE(base::GetFileSize(log_file_path, &size));
430 EXPECT_GT(size, 0); 430 EXPECT_GT(size, 0);
431 } 431 }
432 432
433 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, CanDeleteWhenOverQuotaTest) { 433 // Disabled due to flakes on Android bots. See crbug.com/616100.
434 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest,
435 DISABLED_CanDeleteWhenOverQuotaTest) {
434 SimpleTest(GetTestUrl("indexeddb", "fill_up_5k.html")); 436 SimpleTest(GetTestUrl("indexeddb", "fill_up_5k.html"));
435 int64_t size = RequestDiskUsage(); 437 int64_t size = RequestDiskUsage();
436 const int kQuotaKilobytes = 2; 438 const int kQuotaKilobytes = 2;
437 EXPECT_GT(size, kQuotaKilobytes * 1024); 439 EXPECT_GT(size, kQuotaKilobytes * 1024);
438 SetQuota(kQuotaKilobytes); 440 SetQuota(kQuotaKilobytes);
439 SimpleTest(GetTestUrl("indexeddb", "delete_over_quota.html")); 441 SimpleTest(GetTestUrl("indexeddb", "delete_over_quota.html"));
440 } 442 }
441 443
442 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, EmptyBlob) { 444 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, EmptyBlob) {
443 // First delete all IDB's for the test origin 445 // First delete all IDB's for the test origin
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
853 command_line->AppendSwitch(switches::kSingleProcess); 855 command_line->AppendSwitch(switches::kSingleProcess);
854 } 856 }
855 }; 857 };
856 858
857 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTestSingleProcess, 859 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTestSingleProcess,
858 RenderThreadShutdownTest) { 860 RenderThreadShutdownTest) {
859 SimpleTest(GetTestUrl("indexeddb", "shutdown_with_requests.html")); 861 SimpleTest(GetTestUrl("indexeddb", "shutdown_with_requests.html"));
860 } 862 }
861 863
862 } // namespace content 864 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698