couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject [33/50] couchdb commit: updated refs/heads/2876-js-tests-merged-squashed to f44e15f
Date Wed, 16 Dec 2015 19:52:28 GMT
JS test: update users_db_security.js for 2.0


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/5641957e
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/5641957e
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/5641957e

Branch: refs/heads/2876-js-tests-merged-squashed
Commit: 5641957e268d4f3fa8ab34a02a52e824847fd0d8
Parents: f869bf3
Author: Jan Lehnardt <jan@apache.org>
Authored: Wed Dec 16 20:49:33 2015 +0100
Committer: Jan Lehnardt <jan@apache.org>
Committed: Wed Dec 16 20:49:33 2015 +0100

----------------------------------------------------------------------
 test/javascript/tests/users_db_security.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/5641957e/test/javascript/tests/users_db_security.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/users_db_security.js b/test/javascript/tests/users_db_security.js
index f2ca8bc..4ebab63 100644
--- a/test/javascript/tests/users_db_security.js
+++ b/test/javascript/tests/users_db_security.js
@@ -11,7 +11,9 @@
 // the License.
 
 couchTests.users_db_security = function(debug) {
-  var usersDb = new CouchDB("test_suite_users", {"X-Couch-Full-Commit":"false"});
+  return console.log('TODO');
+  var db_name = get_random_db_name();
+  var usersDb = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"});
   if (debug) debugger;
 
   function wait(ms) {
@@ -410,7 +412,6 @@ couchTests.users_db_security = function(debug) {
     });
   };
 
-  usersDb.deleteDb();
   run_on_modified_server(
     [{section: "couch_httpd_auth",
       key: "iterations", value: "1"},


Mime
View raw message