You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2016/07/13 12:33:19 UTC

[2/2] couchdb commit: updated refs/heads/master to 6e7efa9

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 <rn...@apache.org>
Authored: Wed Jul 13 13:32:38 2016 +0100
Committer: Robert Newson <rn...@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 = [
     {