summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Newson <rnewson@apache.org>2016-07-13 13:32:38 +0100
committerRobert Newson <rnewson@apache.org>2016-07-13 13:32:38 +0100
commit6e7efa960ede58edbd9cd54cc4e514c689ec8e27 (patch)
treeda9cab81c4c71cb223b2faf5465fad94b83cfd04
parente2371e1cf1cbc1c04788aa687eb823fa6d1796e8 (diff)
downloadcouchdb-6e7efa960ede58edbd9cd54cc4e514c689ec8e27.tar.gz
create db if missing
-rw-r--r--test/javascript/tests/replication.js1
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 = [
{