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

Unified Diff: content/browser/indexed_db/indexed_db_browsertest.cc

Issue 397323003: LevelDBDatabase::Compact compacts db (on disk) w/o requiring reopen. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Compacting after waiting for previous writes to finish. Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/indexed_db/leveldb/leveldb_database.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/indexed_db/indexed_db_browsertest.cc
diff --git a/content/browser/indexed_db/indexed_db_browsertest.cc b/content/browser/indexed_db/indexed_db_browsertest.cc
index b3e91a5fb9490ebfea3f13e9fb2e7ffcb84b187b..737e9ba8c43b8638d3b6f6a2ae96ba6a75ffbfc9 100644
--- a/content/browser/indexed_db/indexed_db_browsertest.cc
+++ b/content/browser/indexed_db/indexed_db_browsertest.cc
@@ -641,7 +641,7 @@ IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest,
const int kTestFillBytes = 1024 * 1024 * 5; // 5MB
EXPECT_GT(after_filling, kTestFillBytes);
- const int kTestCompactBytes = 1024 * 1024 * 1; // 1MB
+ const int kTestCompactBytes = 1024 * 10; // 10kB
EXPECT_LT(after_deleting, kTestCompactBytes);
}
« no previous file with comments | « no previous file | content/browser/indexed_db/leveldb/leveldb_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698