From 16ccd4c0b8ae4272fa27d32948658b1424a291fc Mon Sep 17 00:00:00 2001 From: "Damien F. Katz" Date: Mon, 25 May 2009 19:52:28 +0000 Subject: Merging new tail append storage into trunk. Upgrades are automatic, once opened by this version old versions of CouchDB will not be able to open the files. As a precaution, you should back-up your production databases before upgrading. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@778485 13f79535-47bb-0310-9956-ffa450edef68 --- share/www/script/test/compact.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'share/www/script/test/compact.js') diff --git a/share/www/script/test/compact.js b/share/www/script/test/compact.js index 51a57051..a3b55d85 100644 --- a/share/www/script/test/compact.js +++ b/share/www/script/test/compact.js @@ -15,7 +15,7 @@ couchTests.compact = function(debug) { db.deleteDb(); db.createDb(); if (debug) debugger; - var docs = makeDocs(0, 10); + var docs = makeDocs(0, 20); db.bulkSave(docs); var binAttDoc = { @@ -35,6 +35,7 @@ couchTests.compact = function(debug) { for(var i in docs) { db.deleteDoc(docs[i]); } + T(db.ensureFullCommit().ok); var deletesize = db.info().disk_size; T(deletesize > originalsize); -- cgit v1.2.3