Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix spatial design docs test

The test was too fragile. It tested for a certain file size,
which can easily change whenever the underlying data storage
or structure changes.

Change-Id: I79b052f50032a7b5f0c06c59e21e9a2a3374b64d
Reviewed-by: Filipe David Borba Manana <>
Tested-by: Volker Mische <>
Reviewed-by: Volker Mische <>
  • Loading branch information...
commit 06a01134febe23279552a0feacb17fc1fabecfa8 1 parent eb2c276
Volker Mische vmx authored vmx committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  share/www/script/test/spatial_design_docs.js
2  share/www/script/test/spatial_design_docs.js
@@ -109,7 +109,7 @@ couchTests.spatial_design_docs = function(debug) {
var resp = JSON.parse(xhr.responseText);
var sinfo = resp.spatial_index;
- TEquals(51, sinfo.disk_size);
+ T(sinfo.disk_size > 0);
TEquals(false, sinfo.compact_running);
// test that GET /db/_design/test/_info
// hasn't triggered an update of the views
Please sign in to comment.
Something went wrong with that request. Please try again.