summaryrefslogtreecommitdiff
path: root/share/www/script
diff options
context:
space:
mode:
Diffstat (limited to 'share/www/script')
-rw-r--r--share/www/script/test/compact.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/www/script/test/compact.js b/share/www/script/test/compact.js
index 6a48992b..22eeaec1 100644
--- a/share/www/script/test/compact.js
+++ b/share/www/script/test/compact.js
@@ -39,12 +39,14 @@ couchTests.compact = function(debug) {
T(db.ensureFullCommit().ok);
var deletesize = db.info().disk_size;
T(deletesize > originalsize);
+ T(db.setDbProperty("_revs_limit", 666).ok);
T(db.compact().ok);
T(db.last_req.status == 202);
// compaction isn't instantaneous, loop until done
while (db.info().compact_running) {};
T(db.info().instance_start_time == start_time);
+ T(db.getDbProperty("_revs_limit") === 666);
T(db.ensureFullCommit().ok);
restartServer();