summaryrefslogtreecommitdiff
path: root/share/www/script
diff options
context:
space:
mode:
authorRobert Newson <rnewson@apache.org>2011-05-28 16:50:10 +0000
committerRobert Newson <rnewson@apache.org>2011-05-28 16:50:10 +0000
commit31e900ee642e672cec0b7b561c4bb596e1acf9a5 (patch)
tree2bc170c12a0575fe9ca0f2da1d418e2e72e0f1bb /share/www/script
parent57bb30a736a7e0635c3cab394b946b1acbbed266 (diff)
COUCHDB-1171 Multiple requests to _changes feed causes {error, system_limit} "Too many processes"
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1128704 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/script')
-rw-r--r--share/www/script/test/changes.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/www/script/test/changes.js b/share/www/script/test/changes.js
index 5998f48c..ea22bfb3 100644
--- a/share/www/script/test/changes.js
+++ b/share/www/script/test/changes.js
@@ -503,6 +503,10 @@ couchTests.changes = function(debug) {
TEquals("0", resp.results[0].id);
TEquals("1", resp.results[1].id);
+ TEquals(0, CouchDB.requestStats('httpd', 'clients_requesting_changes').current);
+ CouchDB.request("GET", "/" + db.name + "/_changes");
+ TEquals(0, CouchDB.requestStats('httpd', 'clients_requesting_changes').current);
+
// cleanup
db.deleteDb();
};