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

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: 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
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 4eb4a0d15635c0d0349680d775a6bfd14a40e809..02f3442663b25d27b7786a9510cfc9f1c43600d9 100644
--- a/content/browser/indexed_db/indexed_db_browsertest.cc
+++ b/content/browser/indexed_db/indexed_db_browsertest.cc
@@ -642,7 +642,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
jsbell 2014/07/17 18:33:24 Nice!
EXPECT_LT(after_deleting, kTestCompactBytes);
}

Powered by Google App Engine
This is Rietveld 408576698