diff options
author | John Christopher Anderson <jchris@apache.org> | 2009-05-04 22:06:12 +0000 |
---|---|---|
committer | John Christopher Anderson <jchris@apache.org> | 2009-05-04 22:06:12 +0000 |
commit | 2d0503e3bb0c50c99670c01272ee8c1fe7710f8d (patch) | |
tree | abde95fef91189736e89c4ea5c3ae277e6ff46e7 /share/www/script/test/design_docs.js | |
parent | 7c05a60479bacc7acbf6f704285a4ab2981ba02b (diff) |
reduce_limit error is thrown when the reduce function output is not small enough compared to the input. Errors can be switched off using the config API.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@771466 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/script/test/design_docs.js')
-rw-r--r-- | share/www/script/test/design_docs.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/share/www/script/test/design_docs.js b/share/www/script/test/design_docs.js index ebf0e74d..8f003efa 100644 --- a/share/www/script/test/design_docs.js +++ b/share/www/script/test/design_docs.js @@ -16,6 +16,12 @@ couchTests.design_docs = function(debug) { db.createDb(); if (debug) debugger; + run_on_modified_server( + [{section: "query_server_config", + key: "reduce_limit", + value: "false"}], +function() { + var numDocs = 500; function makebigstring(power) { @@ -104,4 +110,5 @@ couchTests.design_docs = function(debug) { restartServer(); T(db.open(designDoc._id) == null); T(db.view("test/no_docs") == null); +}); }; |