Skip to content

HTTPS clone URL

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-on: http://review.couchbase.org/14731
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
Tested-by: Volker Mische <volker.mische@gmail.com>
Reviewed-by: Volker Mische <volker.mische@gmail.com>
  • 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
View
@@ -109,7 +109,7 @@ couchTests.spatial_design_docs = function(debug) {
var resp = JSON.parse(xhr.responseText);
TEquals("spatial", resp.name);
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.