couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [2/2] couchdb commit: updated refs/heads/master to 6e7efa9
Date Wed, 13 Jul 2016 12:33:19 GMT
create db if missing


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

Branch: refs/heads/master
Commit: 6e7efa960ede58edbd9cd54cc4e514c689ec8e27
Parents: e2371e1
Author: Robert Newson <rnewson@apache.org>
Authored: Wed Jul 13 13:32:38 2016 +0100
Committer: Robert Newson <rnewson@apache.org>
Committed: Wed Jul 13 13:32:38 2016 +0100

----------------------------------------------------------------------
 test/javascript/tests/replication.js | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/6e7efa96/test/javascript/tests/replication.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/replication.js b/test/javascript/tests/replication.js
index 02658b0..6393acf 100644
--- a/test/javascript/tests/replication.js
+++ b/test/javascript/tests/replication.js
@@ -1552,6 +1552,7 @@ couchTests.replication = function(debug) {
     roles: ["erlanger"]
   }, "erly");
   var defaultUsersDb = new CouchDB("_users", {"X-Couch-Full-Commit":"false"});
+  try { defaultUsersDb.createDb(); } catch (e) { /* ignore if exists*/ }
   //var usersDb = new CouchDB("test_suite_auth", {"X-Couch-Full-Commit":"false"});
   /*var server_config = [
     {


Mime
View raw message