commit | c97a98bea35311b7c05010ed6f12e5679081a467 | [log] [tgz] |
---|---|---|
author | Robert Newson <rnewson@apache.org> | Tue Mar 25 15:02:50 2014 +0000 |
committer | Robert Newson <rnewson@apache.org> | Tue Mar 25 16:16:18 2014 +0000 |
tree | fa7da26b81da65b2d741b7f0bad989ce600ff844 | |
parent | bcb194232acb3e4303cabbcf84ab76dd6ad75c75 [diff] |
Configurable upper bound to _uuids count parameter
diff --git a/script/test/uuids.js b/script/test/uuids.js index 6f5d223..0f141a9 100644 --- a/script/test/uuids.js +++ b/script/test/uuids.js
@@ -80,6 +80,10 @@ } }; + // test max_uuid_count + var xhr = CouchDB.request("GET", "/_uuids?count=1001"); + TEquals(401, xhr.status, "should error when count > max_count"); + run_on_modified_server([{ "section": "uuids", "key": "algorithm",