diff options
author | Robert Newson <rnewson@apache.org> | 2016-07-13 13:32:38 +0100 |
---|---|---|
committer | Robert Newson <rnewson@apache.org> | 2016-07-13 13:32:38 +0100 |
commit | 6e7efa960ede58edbd9cd54cc4e514c689ec8e27 (patch) | |
tree | da9cab81c4c71cb223b2faf5465fad94b83cfd04 | |
parent | e2371e1cf1cbc1c04788aa687eb823fa6d1796e8 (diff) | |
download | couchdb-6e7efa960ede58edbd9cd54cc4e514c689ec8e27.tar.gz |
create db if missing
-rw-r--r-- | test/javascript/tests/replication.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/javascript/tests/replication.js b/test/javascript/tests/replication.js index 02658b004..6393acf70 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 = [ { |