From 2d0503e3bb0c50c99670c01272ee8c1fe7710f8d Mon Sep 17 00:00:00 2001 From: John Christopher Anderson Date: Mon, 4 May 2009 22:06:12 +0000 Subject: 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 --- share/www/script/test/design_docs.js | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'share/www/script/test/design_docs.js') 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); +}); }; -- cgit v1.2.3