summaryrefslogtreecommitdiff
path: root/share/www/script
diff options
context:
space:
mode:
Diffstat (limited to 'share/www/script')
-rw-r--r--share/www/script/test/design_docs.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/www/script/test/design_docs.js b/share/www/script/test/design_docs.js
index 5c6a2d77..9571606d 100644
--- a/share/www/script/test/design_docs.js
+++ b/share/www/script/test/design_docs.js
@@ -105,6 +105,7 @@ function() {
TEquals("javascript", JSON.parse(xhr.responseText).language);
var prev_view_sig = db.designInfo("_design/test").view_index.signature;
+ var prev_view_size = db.designInfo("_design/test").view_index.disk_size;
db.bulkSave(makeDocs(1, numDocs + 1));
T(db.ensureFullCommit().ok);
@@ -117,7 +118,7 @@ function() {
var dinfo = db.designInfo("_design/test");
TEquals("test", dinfo.name);
var vinfo = dinfo.view_index;
- TEquals(51, vinfo.disk_size);
+ TEquals(prev_view_size, vinfo.disk_size, "view group disk size didn't change");
TEquals(false, vinfo.compact_running);
TEquals(prev_view_sig, vinfo.signature, 'ddoc sig');
// wait some time (there were issues where an update