From 06a084d40de16f72b6278a63f4c06c2d2b0c9281 Mon Sep 17 00:00:00 2001 From: "Damien F. Katz" Date: Mon, 19 Jan 2009 23:31:51 +0000 Subject: tests for fix to COUCHDB-215, and changing of how max_dbs_open setting is handled at runtime. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@735875 13f79535-47bb-0310-9956-ffa450edef68 --- share/www/script/couch_tests.js | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) (limited to 'share/www/script') diff --git a/share/www/script/couch_tests.js b/share/www/script/couch_tests.js index de4f03db..dbdc27ce 100644 --- a/share/www/script/couch_tests.js +++ b/share/www/script/couch_tests.js @@ -2860,7 +2860,38 @@ var tests = { // Now delete document T(user2Db.deleteDoc(doc).ok); }); - } + }, + + + max_dbs_open : function(debug) { + if (debug) debugger; + restartServer(); + var max = 5; + run_on_modified_server( + [{section: "couchdb", + key: "max_dbs_open", + value: max.toString()}], + + function () { + for(var i=0; i