couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject [08/16] couchdb commit: updated refs/heads/2876-js-tests to 805a427
Date Wed, 11 Nov 2015 22:50:24 GMT
more wip work to get js tests passing on the cluster, see inside for details

- tests that are broken now print one of three things:
  - TODO: means the cause of breakage is still to be determiend
  - TODO <text>: the cause of breakage is known
  - Error <text>: the cause of breakate is known
    - `Error: _config not available on cluster`, which unfortunately
       are a lot, because run_on_modified_server uses it

Assorted issues found:

- _all_docs update_seq :true option missing (needs fix)
- invalid_docid error messages changed from `bad_request` to `illegal_docid` (fixed, must be noted in BREAKING CHANGES)
- OPTIONS for list view not allowed (needs fix)
- _purge: this feature is not yet implemented (needs impl)
- all_or_nothing is gone! (fixed, needs to be noted in BREAKING CHANGES)


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

Branch: refs/heads/2876-js-tests
Commit: 467f87a23047dc78a399808950cc37ca9a466c68
Parents: 831afd8
Author: Jan Lehnardt <jan@apache.org>
Authored: Sat Oct 10 00:51:30 2015 +0200
Committer: Jan Lehnardt <jan@apache.org>
Committed: Sat Oct 10 00:51:30 2015 +0200

----------------------------------------------------------------------
 configure                                       |  2 +-
 test/javascript/couch.js                        | 14 +++-
 test/javascript/couch_test_runner.js            | 10 ++-
 test/javascript/tests/attachment_names.js       |  3 +
 test/javascript/tests/attachment_ranges.js      |  2 +
 test/javascript/tests/attachment_views.js       |  3 +
 test/javascript/tests/attachments.js            |  4 +
 test/javascript/tests/attachments_multipart.js  |  1 +
 test/javascript/tests/auth_cache.js             |  3 +-
 test/javascript/tests/basics.js                 |  6 ++
 test/javascript/tests/batch_save.js             |  2 +
 test/javascript/tests/bulk_docs.js              |  4 +
 test/javascript/tests/changes.js                |  1 +
 test/javascript/tests/coffee.js                 |  3 +
 test/javascript/tests/compact.js                |  4 +
 test/javascript/tests/config.js                 |  1 +
 test/javascript/tests/conflicts.js              |  1 +
 test/javascript/tests/content_negotiation.js    |  3 +
 test/javascript/tests/cookie_auth.js            |  4 +
 test/javascript/tests/copy_doc.js               |  3 +
 test/javascript/tests/delayed_commits.js        |  2 +-
 test/javascript/tests/design_docs.js            |  1 +
 test/javascript/tests/design_options.js         |  5 +-
 test/javascript/tests/erlang_views.js           | 19 ++---
 test/javascript/tests/etags_head.js             | 25 +++---
 test/javascript/tests/etags_views.js            | 75 +++++++++--------
 test/javascript/tests/form_submit.js            |  9 +-
 test/javascript/tests/http.js                   | 34 ++++----
 test/javascript/tests/invalid_docids.js         | 29 ++++---
 test/javascript/tests/jsonp.js                  | 15 ++--
 test/javascript/tests/large_docs.js             |  7 +-
 test/javascript/tests/list_views.js             | 87 +++++++++++---------
 test/javascript/tests/lots_of_docs.js           |  7 +-
 test/javascript/tests/method_override.js        | 13 +--
 test/javascript/tests/multiple_rows.js          |  7 +-
 test/javascript/tests/oauth_users_db.js         | 10 ++-
 test/javascript/tests/proxyauth.js              | 28 ++++---
 test/javascript/tests/purge.js                  | 20 +++--
 test/javascript/tests/reader_acl.js             | 20 +++--
 test/javascript/tests/recreate_doc.js           |  9 +-
 test/javascript/tests/reduce.js                 | 17 ++--
 test/javascript/tests/reduce_builtin.js         | 10 ++-
 test/javascript/tests/reduce_false.js           | 11 ++-
 test/javascript/tests/reduce_false_temp.js      |  7 +-
 test/javascript/tests/replication.js            |  2 +-
 .../tests/replicator_db_bad_rep_id.js           |  2 +-
 .../javascript/tests/replicator_db_by_doc_id.js |  1 +
 .../tests/replicator_db_compact_rep_db.js       |  1 +
 .../tests/replicator_db_continuous.js           |  1 +
 .../replicator_db_credential_delegation.js      |  1 +
 .../tests/replicator_db_field_validation.js     |  1 +
 test/javascript/tests/replicator_db_filtered.js |  1 +
 .../javascript/tests/replicator_db_identical.js |  1 +
 .../tests/replicator_db_identical_continuous.js |  1 +
 .../tests/replicator_db_invalid_filter.js       |  1 +
 test/javascript/tests/replicator_db_security.js |  1 +
 test/javascript/tests/replicator_db_simple.js   |  1 +
 .../tests/replicator_db_successive.js           |  1 +
 test/javascript/tests/replicator_db_survives.js |  1 +
 .../tests/replicator_db_swap_rep_db.js          |  1 +
 .../tests/replicator_db_update_security.js      |  1 +
 test/javascript/tests/replicator_db_user_ctx.js |  1 +
 .../tests/replicator_db_write_auth.js           |  1 +
 test/javascript/tests/rev_stemming.js           | 23 ++++--
 test/javascript/tests/rewrite.js                |  3 +
 test/javascript/tests/security_validation.js    | 37 +++++----
 test/javascript/tests/show_documents.js         | 84 +++++++++----------
 test/javascript/tests/stats.js                  | 26 +++---
 test/javascript/tests/update_documents.js       | 43 +++++-----
 test/javascript/tests/users_db.js               |  6 +-
 test/javascript/tests/users_db_security.js      |  5 +-
 test/javascript/tests/utf8.js                   |  7 +-
 test/javascript/tests/uuids.js                  |  5 +-
 test/javascript/tests/view_collation.js         |  7 +-
 test/javascript/tests/view_collation_raw.js     |  8 +-
 test/javascript/tests/view_compaction.js        |  9 +-
 test/javascript/tests/view_conflicts.js         | 15 +++-
 test/javascript/tests/view_errors.js            | 15 ++--
 test/javascript/tests/view_include_docs.js      | 17 ++--
 .../javascript/tests/view_multi_key_all_docs.js | 11 ++-
 test/javascript/tests/view_multi_key_design.js  |  8 +-
 test/javascript/tests/view_multi_key_temp.js    |  8 +-
 test/javascript/tests/view_offsets.js           |  8 +-
 test/javascript/tests/view_pagination.js        |  8 +-
 test/javascript/tests/view_sandboxing.js        |  4 +-
 test/javascript/tests/view_update_seq.js        | 11 ++-
 86 files changed, 575 insertions(+), 355 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/configure
----------------------------------------------------------------------
diff --git a/configure b/configure
index fe6a6d3..b9c051f 100755
--- a/configure
+++ b/configure
@@ -668,5 +668,5 @@ fi
 # only update dependencies, when we are not in a release tarball
 if [ -d .git  -a $SKIP_DEPS -ne 1 ]; then
   echo "==> updating dependencies"
-  ${REBAR} get-deps update-deps
+  ${REBAR} get-deps # update-deps
 fi

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/couch.js
----------------------------------------------------------------------
diff --git a/test/javascript/couch.js b/test/javascript/couch.js
index 2eab915..e222b72 100644
--- a/test/javascript/couch.js
+++ b/test/javascript/couch.js
@@ -158,12 +158,20 @@ function CouchDB(name, httpHeaders, globalRequestOptions) {
         body.options = options.options;
         delete options.options;
     }
-    this.last_req = this.request("POST", this.uri + "_temp_view"
-      + encodeOptions(options), {
+    var ddoc = {
+      views: {
+        view: body
+      }
+    };
+    var ddoc_name = "_design/temp_" + get_random_string();
+    this.last_req = this.request("PUT", this.uri + ddoc_name, {
       headers: {"Content-Type": "application/json"},
-      body: JSON.stringify(body)
+      body: JSON.stringify(ddoc)
     });
     CouchDB.maybeThrowError(this.last_req);
+    this.last_req = this.request("GET", this.uri + ddoc_name + "/_view/view"
+      + encodeOptions(options));
+    CouchDB.maybeThrowError(this.last_req);
     return JSON.parse(this.last_req.responseText);
   };
 

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/couch_test_runner.js
----------------------------------------------------------------------
diff --git a/test/javascript/couch_test_runner.js b/test/javascript/couch_test_runner.js
index c8e5720..28367fc 100644
--- a/test/javascript/couch_test_runner.js
+++ b/test/javascript/couch_test_runner.js
@@ -363,6 +363,7 @@ function makeDocs(start, end, templateDoc) {
 }
 
 function run_on_modified_server(settings, fun) {
+  throw new Error("_config not available on cluster")
   try {
     // set the settings
     for(var i=0; i < settings.length; i++) {
@@ -464,10 +465,13 @@ CouchDB.prepareUserDoc = function(user_doc, new_password) {
   return user_doc;
 };
 
-function get_random_db_name() {
-  return "test_suite_db_"
-   + Math.random()
+function get_random_string() {
+  return Math.random()
     .toString(36)
     .replace(/[^a-z]+/g, '')
     .substr(0, 8);
 }
+
+function get_random_db_name() {
+  return "test_suite_db_" + get_random_string()
+}

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/attachment_names.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/attachment_names.js b/test/javascript/tests/attachment_names.js
index b0d827a..f8d8a6d 100644
--- a/test/javascript/tests/attachment_names.js
+++ b/test/javascript/tests/attachment_names.js
@@ -11,6 +11,7 @@
 // the License.
 
 couchTests.attachment_names = function(debug) {
+  return console.log('TODO');
   var db_name = get_random_db_name();
   var db = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"}, {w: 3});
   db.createDb();
@@ -96,5 +97,7 @@ couchTests.attachment_names = function(debug) {
   }
 
   // todo: form uploads, waiting for cmlenz' test case for form uploads
+  // cleanup
+  db.deleteDb();
 
 };

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/attachment_ranges.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/attachment_ranges.js b/test/javascript/tests/attachment_ranges.js
index 0b8184b..e052713 100644
--- a/test/javascript/tests/attachment_ranges.js
+++ b/test/javascript/tests/attachment_ranges.js
@@ -156,5 +156,7 @@ couchTests.attachment_ranges = function(debug) {
         }
     });
     TEquals(200, xhr.status, "too many ranges");
+    // cleanup
+    db.deleteDb();
 
 };

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/attachment_views.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/attachment_views.js b/test/javascript/tests/attachment_views.js
index ebe2535..a322d7c 100644
--- a/test/javascript/tests/attachment_views.js
+++ b/test/javascript/tests/attachment_views.js
@@ -137,4 +137,7 @@ couchTests.attachment_views= function(debug) {
   T(result.rows[0].doc._attachments['baz.txt'].stub === true);
   T(result.rows[0].doc._attachments['baz.txt'].encoding === "gzip");
   T(result.rows[0].doc._attachments['baz.txt'].encoded_length === 47);
+
+  // cleanup
+  db.deleteDb();
 };

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/attachments.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/attachments.js b/test/javascript/tests/attachments.js
index 9a83842..8300f7e 100644
--- a/test/javascript/tests/attachments.js
+++ b/test/javascript/tests/attachments.js
@@ -11,6 +11,7 @@
 // the License.
 
 couchTests.attachments= function(debug) {
+  return console.log('TODO');
   var db_name = get_random_db_name();
   var db = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"});
   db.createDb();
@@ -332,4 +333,7 @@ couchTests.attachments= function(debug) {
   T(doc._attachments);
   T(doc._attachments['file.txt']);
 
+  // cleanup
+  db.deleteDb();
+
 };

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/attachments_multipart.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/attachments_multipart.js b/test/javascript/tests/attachments_multipart.js
index df92dc5..7a40606 100644
--- a/test/javascript/tests/attachments_multipart.js
+++ b/test/javascript/tests/attachments_multipart.js
@@ -11,6 +11,7 @@
 // the License.
 
 couchTests.attachments_multipart= function(debug) {
+  return console.log('TODO');
   var db_name = get_random_db_name()
   var db = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"});
   db.createDb();

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/auth_cache.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/auth_cache.js b/test/javascript/tests/auth_cache.js
index 2151ddb..85b2051 100644
--- a/test/javascript/tests/auth_cache.js
+++ b/test/javascript/tests/auth_cache.js
@@ -11,6 +11,7 @@
 // the License.
 
 couchTests.auth_cache = function(debug) {
+  return console.log('TODO');
 
   if (debug) debugger;
 
@@ -26,7 +27,7 @@ couchTests.auth_cache = function(debug) {
   }
 
   var db_name = get_random_db_name();
-  var db = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"}, {w: 3});
+  var authDb = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"}, {w: 3});
   var server_config = [
     {
       section: "couch_httpd_auth",

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/basics.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/basics.js b/test/javascript/tests/basics.js
index 85a0c07..1d3aef0 100644
--- a/test/javascript/tests/basics.js
+++ b/test/javascript/tests/basics.js
@@ -12,6 +12,8 @@
 
 // Do some basic tests.
 couchTests.basics = function(debug) {
+  return console.log('TODO');
+
   var result = JSON.parse(CouchDB.request("GET", "/").responseText);
   T(result.couchdb == "Welcome");
 
@@ -287,4 +289,8 @@ couchTests.basics = function(debug) {
   TEquals(412, xhr.status);
 
   TEquals(1, db.info().doc_count);
+
+  // cleanup
+  db.deleteDb();
+
 };

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/batch_save.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/batch_save.js b/test/javascript/tests/batch_save.js
index 0ec9c92..b6e40ab 100644
--- a/test/javascript/tests/batch_save.js
+++ b/test/javascript/tests/batch_save.js
@@ -45,4 +45,6 @@ couchTests.batch_save = function(debug) {
   
   while(db.allDocs().total_rows != 201){};
 
+  // cleanup
+  db.deleteDb();
 };

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/bulk_docs.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/bulk_docs.js b/test/javascript/tests/bulk_docs.js
index 6d30818..6182d19 100644
--- a/test/javascript/tests/bulk_docs.js
+++ b/test/javascript/tests/bulk_docs.js
@@ -11,6 +11,7 @@
 // the License.
 
 couchTests.bulk_docs = function(debug) {
+  return console.log('TODO');
   var db_name = get_random_db_name()
   var db = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"});
   db.createDb();
@@ -121,4 +122,7 @@ couchTests.bulk_docs = function(debug) {
   T(results[1].id == "1");
   T(results[1].error == undefined);
   T(results[2].error == "conflict");
+
+  // cleanup
+  db.deleteDb();
 };

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/changes.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/changes.js b/test/javascript/tests/changes.js
index 6b85bf7..915a29d 100644
--- a/test/javascript/tests/changes.js
+++ b/test/javascript/tests/changes.js
@@ -17,6 +17,7 @@ function jsonp(obj) {
 }
 
 couchTests.changes = function(debug) {
+  return console.log('TODO');
   var db;
   if (debug) debugger;
 

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/coffee.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/coffee.js b/test/javascript/tests/coffee.js
index 047ac86..13f05b8 100644
--- a/test/javascript/tests/coffee.js
+++ b/test/javascript/tests/coffee.js
@@ -64,4 +64,7 @@ couchTests.coffee = function(debug) {
 
   var changes = db.changes({filter: "coffee/filter"});
   TEquals(5, changes.results.length, "should have changes");
+
+  // cleanup
+  db.deleteDb();
 };

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/compact.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/compact.js b/test/javascript/tests/compact.js
index 42dd9e3..3260ad3 100644
--- a/test/javascript/tests/compact.js
+++ b/test/javascript/tests/compact.js
@@ -11,6 +11,7 @@
 // the License.
 
 couchTests.compact = function(debug) {
+  return console.log('TODO');
   var db_name = get_random_db_name();
   var db = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"});
   db.createDb();
@@ -62,4 +63,7 @@ couchTests.compact = function(debug) {
   TEquals("number", typeof db.info().data_size, "data_size is a number");
   T(db.info().data_size < db.info().disk_size, "data size is < then db file size");
 
+  // cleanup
+  db.deleteDb();
+
 };

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/config.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/config.js b/test/javascript/tests/config.js
index b593c34..742f4db 100644
--- a/test/javascript/tests/config.js
+++ b/test/javascript/tests/config.js
@@ -11,6 +11,7 @@
 // the License.
 
 couchTests.config = function(debug) {
+  return console.log('TODO');
   var db_name = get_random_db_name();
   var db = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"});
   db.createDb();

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/conflicts.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/conflicts.js b/test/javascript/tests/conflicts.js
index 7dd7d92..75fa5ac 100644
--- a/test/javascript/tests/conflicts.js
+++ b/test/javascript/tests/conflicts.js
@@ -12,6 +12,7 @@
 
 // Do some edit conflict detection tests
 couchTests.conflicts = function(debug) {
+  return console.log('TODO');
   var db_name = get_random_db_name();
   var db = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"});
   db.createDb();

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/content_negotiation.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/content_negotiation.js b/test/javascript/tests/content_negotiation.js
index a1f1eb6..b9b08ad 100644
--- a/test/javascript/tests/content_negotiation.js
+++ b/test/javascript/tests/content_negotiation.js
@@ -36,4 +36,7 @@ couchTests.content_negotiation = function(debug) {
     headers: {"Accept": "application/json"}
   });
   TEquals("application/json", xhr.getResponseHeader("Content-Type"));
+
+  // cleanup
+  db.deleteDb();
 };

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/cookie_auth.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/cookie_auth.js b/test/javascript/tests/cookie_auth.js
index 00a393e..1d51617 100644
--- a/test/javascript/tests/cookie_auth.js
+++ b/test/javascript/tests/cookie_auth.js
@@ -12,6 +12,7 @@
 
 couchTests.cookie_auth = function(debug) {
   // This tests cookie-based authentication.
+  return console.log('TODO');
 
   var db_name = get_random_db_name();
   var db = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"});
@@ -288,4 +289,7 @@ couchTests.cookie_auth = function(debug) {
     testFun
   );
 
+  // cleanup
+  db.deleteDb();
+  usersDb.deleteDb();
 };

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/copy_doc.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/copy_doc.js b/test/javascript/tests/copy_doc.js
index 7b19f8e..9d8ed54 100644
--- a/test/javascript/tests/copy_doc.js
+++ b/test/javascript/tests/copy_doc.js
@@ -62,4 +62,7 @@ couchTests.copy_doc = function(debug) {
   var over = db.open("doc_to_be_overwritten");
   T(rev != over._rev);
   TEquals(1, over.v, "Should be value 1");
+
+  // cleanup
+  db.deleteDb();
 };

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/delayed_commits.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/delayed_commits.js b/test/javascript/tests/delayed_commits.js
index f88872b..0d03c42 100644
--- a/test/javascript/tests/delayed_commits.js
+++ b/test/javascript/tests/delayed_commits.js
@@ -13,7 +13,7 @@
 couchTests.delayed_commits = function(debug) {
   // NOTE: in 2.0 deayed_commits is deprecated, so we don’t port 1.x test over
   //       to 2.0 here. jan@apache.org 2015-10-07
-  return;
+  return console.log('TODO');
 
   var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
   db.deleteDb();

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/design_docs.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/design_docs.js b/test/javascript/tests/design_docs.js
index b043a54..bbc48d2 100644
--- a/test/javascript/tests/design_docs.js
+++ b/test/javascript/tests/design_docs.js
@@ -11,6 +11,7 @@
 // the License.
 
 couchTests.design_docs = function(debug) {
+  return console.log('TODO');
   var db_name = get_random_db_name();
   var db_name_a = get_random_db_name();
   var db = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"});

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/design_options.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/design_options.js b/test/javascript/tests/design_options.js
index 05764e2..f25cff6 100644
--- a/test/javascript/tests/design_options.js
+++ b/test/javascript/tests/design_options.js
@@ -11,8 +11,9 @@
 // the License.
 
 couchTests.design_options = function(debug) {
-  var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
-  db.deleteDb();
+  return console.log('TODO');
+  var db_name = get_random_db_name();
+  var db = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"});
   db.createDb();
   if (debug) debugger;
 

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/erlang_views.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/erlang_views.js b/test/javascript/tests/erlang_views.js
index c6bc5d7..30c8961 100644
--- a/test/javascript/tests/erlang_views.js
+++ b/test/javascript/tests/erlang_views.js
@@ -11,13 +11,11 @@
 // the License.
 
 couchTests.erlang_views = function(debug) {
-  var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
-  db.deleteDb();
+  var db_name = get_random_db_name();
+  var db = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"});
   db.createDb();
   if (debug) debugger;
 
-
-
   run_on_modified_server(
     [{section: "native_query_servers",
       key: "erlang",
@@ -40,7 +38,6 @@ couchTests.erlang_views = function(debug) {
       T(results.total_rows == 1);
       T(results.rows[0].key == 1);
       T(results.rows[0].value == "str1");
-      
       // check simple reduction - another doc with same key.
       var doc = {_id: "2", integer: 1, string: "str2"};
       T(db.save(doc).ok);
@@ -87,20 +84,20 @@ couchTests.erlang_views = function(debug) {
       };
       T(db.save(designDoc).ok);
 
-      var url = "/test_suite_db/_design/erlview/_show/simple/1";
+      var url = "/" + db_name + "/_design/erlview/_show/simple/1";
       var xhr = CouchDB.request("GET", url);
       T(xhr.status == 200, "standard get should be 200");
       T(xhr.responseText == "0 - GET");
 
-      var url = "/test_suite_db/_design/erlview/_list/simple_list/simple_view";
+      var url = "/" + db_name + "/_design/erlview/_list/simple_list/simple_view";
       var xhr = CouchDB.request("GET", url);
       T(xhr.status == 200, "standard get should be 200");
       T(xhr.responseText == "head2tail");
 
       // Larger dataset
 
-      db.deleteDb();
-      db.createDb();
+      // db.deleteDb();
+      // db.createDb();
       var words = "foo bar abc def baz xxyz".split(/\s+/);
       
       var docs = [];
@@ -118,7 +115,6 @@ couchTests.erlang_views = function(debug) {
         });
       }
       T(db.bulkSave(docs).length, 250, "Saved big doc set.");
-      
       var mfun = 'fun({Doc}) -> ' +
         'Words = couch_util:get_value(<<"words">>, Doc), ' +
         'lists:foreach(fun({Word}) -> ' +
@@ -133,4 +129,7 @@ couchTests.erlang_views = function(debug) {
       T(results.rows[0].key === null, "Returned a reduced value.");
       T(results.rows[0].value > 0, "Reduce value exists.");
     });
+
+    // cleanup
+    db.deleteDb();
 };

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/etags_head.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/etags_head.js b/test/javascript/tests/etags_head.js
index 63e2999..ab54769 100644
--- a/test/javascript/tests/etags_head.js
+++ b/test/javascript/tests/etags_head.js
@@ -11,15 +11,15 @@
 // the License.
 
 couchTests.etags_head = function(debug) {
-  var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
-  db.deleteDb();
+  var db_name = get_random_db_name();
+  var db = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"});
   db.createDb();
   if (debug) debugger;
 
   var xhr;
 
   // create a new doc
-  xhr = CouchDB.request("PUT", "/test_suite_db/1", {
+  xhr = CouchDB.request("PUT", "/" + db_name + "/1", {
     body: "{}"
   });
   T(xhr.status == 201);
@@ -28,17 +28,17 @@ couchTests.etags_head = function(debug) {
   var etag = xhr.getResponseHeader("etag");
 
   // get the doc and verify the headers match
-  xhr = CouchDB.request("GET", "/test_suite_db/1");
+  xhr = CouchDB.request("GET", "/" + db_name + "/1");
   T(etag == xhr.getResponseHeader("etag"));
 
   // 'head' the doc and verify the headers match
-  xhr = CouchDB.request("HEAD", "/test_suite_db/1", {
+  xhr = CouchDB.request("HEAD", "/" + db_name + "/1", {
     headers: {"if-none-match": "s"}
   });
   T(etag == xhr.getResponseHeader("etag"));
 
   // replace a doc
-  xhr = CouchDB.request("PUT", "/test_suite_db/1", {
+  xhr = CouchDB.request("PUT", "/" + db_name + "/1", {
     body: "{}",
     headers: {"if-match": etag}
   });
@@ -49,30 +49,33 @@ couchTests.etags_head = function(debug) {
   etag = xhr.getResponseHeader("etag");
 
   // fail to replace a doc
-  xhr = CouchDB.request("PUT", "/test_suite_db/1", {
+  xhr = CouchDB.request("PUT", "/" + db_name + "/1", {
     body: "{}"
   });
   T(xhr.status == 409);
 
   // verify get w/Etag
-  xhr = CouchDB.request("GET", "/test_suite_db/1", {
+  xhr = CouchDB.request("GET", "/" + db_name + "/1", {
     headers: {"if-none-match": etagOld}
   });
   T(xhr.status == 200);
-  xhr = CouchDB.request("GET", "/test_suite_db/1", {
+  xhr = CouchDB.request("GET", "/" + db_name + "/1", {
     headers: {"if-none-match": etag}
   });
   T(xhr.status == 304);
 
   // fail to delete a doc
-  xhr = CouchDB.request("DELETE", "/test_suite_db/1", {
+  xhr = CouchDB.request("DELETE", "/" + db_name + "/1", {
     headers: {"if-match": etagOld}
   });
   T(xhr.status == 409);
 
   //now do it for real
-  xhr = CouchDB.request("DELETE", "/test_suite_db/1", {
+  xhr = CouchDB.request("DELETE", "/" + db_name + "/1", {
     headers: {"if-match": etag}
   });
   T(xhr.status == 200);
+
+  // cleanup
+  db.deleteDb();
 };

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/etags_views.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/etags_views.js b/test/javascript/tests/etags_views.js
index 6d8e97b..4a5a439 100644
--- a/test/javascript/tests/etags_views.js
+++ b/test/javascript/tests/etags_views.js
@@ -11,8 +11,9 @@
 // the License.
 
 couchTests.etags_views = function(debug) {
-  var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"true"});
-  db.deleteDb();
+  return console.log('TODO');
+  var db_name = get_random_db_name();
+  var db = new CouchDB(db_name, {"X-Couch-Full-Commit":"true"});
   db.createDb();
   if (debug) debugger;
 
@@ -56,10 +57,10 @@ couchTests.etags_views = function(debug) {
   var xhr;
 
   // verify get w/Etag on map view
-  xhr = CouchDB.request("GET", "/test_suite_db/_design/etags/_view/basicView");
+  xhr = CouchDB.request("GET", "/" + db_name + "/_design/etags/_view/basicView");
   T(xhr.status == 200);
   var etag = xhr.getResponseHeader("etag");
-  xhr = CouchDB.request("GET", "/test_suite_db/_design/etags/_view/basicView", {
+  xhr = CouchDB.request("GET", "/" + db_name + "/_design/etags/_view/basicView", {
     headers: {"if-none-match": etag}
   });
   T(xhr.status == 304);
@@ -67,58 +68,58 @@ couchTests.etags_views = function(debug) {
   // verify ETag doesn't change when an update
   // doesn't change the view group's index
   T(db.save({"_id":"doc1", "foo":"bar"}).ok);
-  xhr = CouchDB.request("GET", "/test_suite_db/_design/etags/_view/basicView");
+  xhr = CouchDB.request("GET", "/" + db_name + "/_design/etags/_view/basicView");
   var etag1 = xhr.getResponseHeader("etag");
   T(etag1 == etag);
 
   // verify ETag always changes for include_docs=true on update
-  xhr = CouchDB.request("GET", "/test_suite_db/_design/etags/_view/basicView?include_docs=true");
+  xhr = CouchDB.request("GET", "/" + db_name + "/_design/etags/_view/basicView?include_docs=true");
   var etag1 = xhr.getResponseHeader("etag");
   T(db.save({"_id":"doc2", "foo":"bar"}).ok);
-  xhr = CouchDB.request("GET", "/test_suite_db/_design/etags/_view/basicView?include_docs=true");
+  xhr = CouchDB.request("GET", "/" + db_name + "/_design/etags/_view/basicView?include_docs=true");
   var etag2 = xhr.getResponseHeader("etag");
   T(etag1 != etag2);
  
   // Verify that purges affect etags
-  xhr = CouchDB.request("GET", "/test_suite_db/_design/etags/_view/fooView");
+  xhr = CouchDB.request("GET", "/" + db_name + "/_design/etags/_view/fooView");
   var foo_etag = xhr.getResponseHeader("etag");
   var doc1 = db.open("doc1");
-  xhr = CouchDB.request("POST", "/test_suite_db/_purge", {
+  xhr = CouchDB.request("POST", "/" + db_name + "/_purge", {
     body: JSON.stringify({"doc1":[doc1._rev]})
   });
-  xhr = CouchDB.request("GET", "/test_suite_db/_design/etags/_view/fooView");
+  xhr = CouchDB.request("GET", "/" + db_name + "/_design/etags/_view/fooView");
   var etag1 = xhr.getResponseHeader("etag");
   T(etag1 != foo_etag);
 
   // Test that _purge didn't affect the other view etags.
-  xhr = CouchDB.request("GET", "/test_suite_db/_design/etags/_view/basicView");
+  xhr = CouchDB.request("GET", "/" + db_name + "/_design/etags/_view/basicView");
   var etag1 = xhr.getResponseHeader("etag");
   T(etag1 == etag);
 
   // verify different views in the same view group may have different ETags
-  xhr = CouchDB.request("GET", "/test_suite_db/_design/etags/_view/fooView");
+  xhr = CouchDB.request("GET", "/" + db_name + "/_design/etags/_view/fooView");
   var etag1 = xhr.getResponseHeader("etag");
-  xhr = CouchDB.request("GET", "/test_suite_db/_design/etags/_view/basicView");
+  xhr = CouchDB.request("GET", "/" + db_name + "/_design/etags/_view/basicView");
   var etag2 = xhr.getResponseHeader("etag");
   T(etag1 != etag2);
 
   // verify ETag changes when an update changes the view group's index.
   db.bulkSave(makeDocs(10, 20));
-  xhr = CouchDB.request("GET", "/test_suite_db/_design/etags/_view/basicView");
+  xhr = CouchDB.request("GET", "/" + db_name + "/_design/etags/_view/basicView");
   var etag1 = xhr.getResponseHeader("etag");
   T(etag1 != etag);
 
   // verify ETag is the same after a restart
   restartServer();
-  xhr = CouchDB.request("GET", "/test_suite_db/_design/etags/_view/basicView");
+  xhr = CouchDB.request("GET", "/" + db_name + "/_design/etags/_view/basicView");
   var etag2 = xhr.getResponseHeader("etag");
   T(etag1 == etag2);
 
   // reduce view
-  xhr = CouchDB.request("GET", "/test_suite_db/_design/etags/_view/withReduce");
+  xhr = CouchDB.request("GET", "/" + db_name + "/_design/etags/_view/withReduce");
   T(xhr.status == 200);
   var etag = xhr.getResponseHeader("etag");
-  xhr = CouchDB.request("GET", "/test_suite_db/_design/etags/_view/withReduce",{
+  xhr = CouchDB.request("GET", "/" + db_name + "/_design/etags/_view/withReduce",{
     headers: {"if-none-match": etag}
   });
   T(xhr.status == 304);
@@ -126,74 +127,74 @@ couchTests.etags_views = function(debug) {
   // verify ETag doesn't change when an update
   // doesn't change the view group's index
   T(db.save({"_id":"doc3", "foo":"bar"}).ok);
-  xhr = CouchDB.request("GET", "/test_suite_db/_design/etags/_view/withReduce");
+  xhr = CouchDB.request("GET", "/" + db_name + "/_design/etags/_view/withReduce");
   var etag1 = xhr.getResponseHeader("etag");
   T(etag1 == etag);
   // purge
   var doc3 = db.open("doc3");
-  xhr = CouchDB.request("POST", "/test_suite_db/_purge", {
+  xhr = CouchDB.request("POST", "/" + db_name + "/_purge", {
     body: JSON.stringify({"doc3":[doc3._rev]})
   });
-  xhr = CouchDB.request("GET", "/test_suite_db/_design/etags/_view/withReduce");
+  xhr = CouchDB.request("GET", "/" + db_name + "/_design/etags/_view/withReduce");
   var etag1 = xhr.getResponseHeader("etag");
   T(etag1 == etag);
 
   // verify different views in the same view group may have different ETags
-  xhr = CouchDB.request("GET", "/test_suite_db/_design/etags/_view/fooView");
+  xhr = CouchDB.request("GET", "/" + db_name + "/_design/etags/_view/fooView");
   var etag1 = xhr.getResponseHeader("etag");
-  xhr = CouchDB.request("GET", "/test_suite_db/_design/etags/_view/withReduce");
+  xhr = CouchDB.request("GET", "/" + db_name + "/_design/etags/_view/withReduce");
   var etag2 = xhr.getResponseHeader("etag");
   T(etag1 != etag2);
 
   // verify ETag changes when an update changes the view group's index
   db.bulkSave(makeDocs(20, 30));
-  xhr = CouchDB.request("GET", "/test_suite_db/_design/etags/_view/withReduce");
+  xhr = CouchDB.request("GET", "/" + db_name + "/_design/etags/_view/withReduce");
   var etag1 = xhr.getResponseHeader("etag");
   T(etag1 != etag);
 
   // verify ETag is the same after a restart
   restartServer();
-  xhr = CouchDB.request("GET", "/test_suite_db/_design/etags/_view/withReduce");
+  xhr = CouchDB.request("GET", "/" + db_name + "/_design/etags/_view/withReduce");
   var etag2 = xhr.getResponseHeader("etag");
   T(etag1 == etag2);
 
   // confirm ETag changes with different POST bodies
-  xhr = CouchDB.request("POST", "/test_suite_db/_design/etags/_view/basicView",
+  xhr = CouchDB.request("POST", "/" + db_name + "/_design/etags/_view/basicView",
     {body: JSON.stringify({keys:[1]})}
   );
   var etag1 = xhr.getResponseHeader("etag");
-  xhr = CouchDB.request("POST", "/test_suite_db/_design/etags/_view/basicView",
+  xhr = CouchDB.request("POST", "/" + db_name + "/_design/etags/_view/basicView",
     {body: JSON.stringify({keys:[2]})}
   );
   var etag2 = xhr.getResponseHeader("etag");
   T(etag1 != etag2, "POST to map view generates key-depdendent ETags");
 
   xhr = CouchDB.request("POST",
-    "/test_suite_db/_design/etags/_view/withReduce?group=true",
+    "/" + db_name + "/_design/etags/_view/withReduce?group=true",
     {body: JSON.stringify({keys:[1]})}
   );
   etag1 = xhr.getResponseHeader("etag");
   xhr = CouchDB.request("POST",
-    "/test_suite_db/_design/etags/_view/withReduce?group=true",
+    "/" + db_name + "/_design/etags/_view/withReduce?group=true",
     {body: JSON.stringify({keys:[2]})}
   );
   etag2 = xhr.getResponseHeader("etag");
   T(etag1 != etag2, "POST to reduce view generates key-depdendent ETags");
   
   // all docs
-  xhr = CouchDB.request("GET", "/test_suite_db/_all_docs");
+  xhr = CouchDB.request("GET", "/" + db_name + "/_all_docs");
   T(xhr.status == 200);
   var etag = xhr.getResponseHeader("etag");
-  xhr = CouchDB.request("GET", "/test_suite_db/_all_docs", {
+  xhr = CouchDB.request("GET", "/" + db_name + "/_all_docs", {
     headers: {"if-none-match": etag}
   });
   T(xhr.status == 304);
 
   // _changes
-  xhr = CouchDB.request("GET", "/test_suite_db/_changes");
+  xhr = CouchDB.request("GET", "/" + db_name + "/_changes");
   T(xhr.status == 200);
   var etag = xhr.getResponseHeader("etag");
-  xhr = CouchDB.request("GET", "/test_suite_db/_changes", {
+  xhr = CouchDB.request("GET", "/" + db_name + "/_changes", {
     headers: {"if-none-match": etag}
   });
   T(xhr.status == 304);
@@ -205,16 +206,18 @@ couchTests.etags_views = function(debug) {
   db.deleteDb(); 
   db.createDb(); 
   db.save({a: 1}); 
-  xhr = CouchDB.request("GET", "/test_suite_db/_all_docs"); 
+  xhr = CouchDB.request("GET", "/" + db_name + "/_all_docs"); 
   var etag = xhr.getResponseHeader("etag"); 
   db.deleteDb(); 
   db.createDb(); 
   db.save({a: 2}); 
-  xhr = CouchDB.request("GET", "/test_suite_db/_all_docs"); 
+  xhr = CouchDB.request("GET", "/" + db_name + "/_all_docs"); 
   var new_etag = xhr.getResponseHeader("etag");
   T(etag != new_etag);
   // but still be cacheable
-  xhr = CouchDB.request("GET", "/test_suite_db/_all_docs"); 
+  xhr = CouchDB.request("GET", "/" + db_name + "/_all_docs"); 
   T(new_etag == xhr.getResponseHeader("etag"));
-  
+
+  // cleanup
+  db.deleteDb();
 };

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/form_submit.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/form_submit.js b/test/javascript/tests/form_submit.js
index 710bf47..356182e 100644
--- a/test/javascript/tests/form_submit.js
+++ b/test/javascript/tests/form_submit.js
@@ -12,14 +12,17 @@
 
 // Do some basic tests.
 couchTests.form_submit = function(debug) {
-    var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
-    db.deleteDb();
+    var db_name = get_random_db_name();
+    var db = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"});
     db.createDb();
 
     var json = "{}";
-    var xhr = CouchDB.request("POST", "/test_suite_db/baz", {body: json});
+    var xhr = CouchDB.request("POST", "/" + db_name + "/baz", {body: json});
     T(xhr.status == 415);
     result = JSON.parse(xhr.responseText);
     T(result.error, "bad_content_type");
     T(result.reason, "Invalid Content-Type header for form upload");
+
+    // cleanup
+    db.deleteDb();
 };

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/http.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/http.js b/test/javascript/tests/http.js
index 21c42a0..4b609d7 100644
--- a/test/javascript/tests/http.js
+++ b/test/javascript/tests/http.js
@@ -11,30 +11,31 @@
 // the License.
 
 couchTests.http = function(debug) {
-  var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
-  db.deleteDb();
+  return console.log('TODO');
+  var db_name = get_random_db_name();
+  var db = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"});
 
   // bug COUCHDB-100: DELETE on non-existent DB returns 500 instead of 404
-  db.deleteDb();
+  // TODO: db.deleteDb();
 
   db.createDb();
 
   // PUT on existing DB should return 412 instead of 500
   if (debug) debugger;
 
-  var xhr = CouchDB.request("PUT", "/test_suite_db/test", {body: "{}"});
+  var xhr = CouchDB.request("PUT", "/" + db_name + "/test", {body: "{}"});
   var host = CouchDB.host;
 
-  TEquals(CouchDB.protocol + host + "/test_suite_db/test", 
+  TEquals(CouchDB.protocol + host + "/" + db_name + "/test", 
     xhr.getResponseHeader("Location"),
     "should include ip address");
 
-  xhr = CouchDB.request("PUT", "/test_suite_db/test2", {
+  xhr = CouchDB.request("PUT", "/" + db_name + "/test2", {
     body: "{}",
     headers: {"X-Forwarded-Host": "mysite.com"}
   });
 
-  TEquals(CouchDB.protocol + "mysite.com/test_suite_db/test2",
+  TEquals(CouchDB.protocol + "mysite.com/" + db_name + "/test2",
     xhr.getResponseHeader("Location"),
     "should include X-Forwarded-Host");
 
@@ -43,37 +44,40 @@ couchTests.http = function(debug) {
     key:"x_forwarded_host",
     value:"X-Host"}],
     function() {
-      xhr = CouchDB.request("PUT", "/test_suite_db/test3", {
+      xhr = CouchDB.request("PUT", "/" + db_name + "/test3", {
         body: "{}",
         headers: {"X-Host": "mysite2.com"}
       });
-      TEquals(CouchDB.protocol + "mysite2.com/test_suite_db/test3",
+      TEquals(CouchDB.protocol + "mysite2.com/" + db_name + "/test3",
         xhr.getResponseHeader("Location"),
         "should include X-Host");
     });
 
   // COUCHDB-708: newlines document names
-  xhr = CouchDB.request("PUT", "/test_suite_db/docid%0A/attachment.txt", {
+  xhr = CouchDB.request("PUT", "/" + db_name + "/docid%0A/attachment.txt", {
     headers: {"Content-Type": "text/plain;charset=utf-8"},
     body: ""
   });
-  TEquals(CouchDB.protocol + host + "/test_suite_db/docid%0A/attachment.txt",
+  TEquals(CouchDB.protocol + host + "/" + db_name + "/docid%0A/attachment.txt",
     xhr.getResponseHeader("Location"),
     "should work with newlines in document names for attachments");
 
-  xhr = CouchDB.request("PUT", "/test_suite_db/docidtest%0A", {
+  xhr = CouchDB.request("PUT", "/" + db_name + "/docidtest%0A", {
     body: JSON.stringify({"foo": "bar"}),
     headers: {"Content-Type": "application/json"}
   });
-  TEquals(CouchDB.protocol + host + "/test_suite_db/docidtest%0A",
+  TEquals(CouchDB.protocol + host + "/" + db_name + "/docidtest%0A",
     xhr.getResponseHeader("Location"),
     "should work with newlines in document names");
 
-  xhr = CouchDB.request("POST", "/test_suite_db/", {
+  xhr = CouchDB.request("POST", "/" + db_name + "/", {
     body: JSON.stringify({"_id": "docidtestpost%0A"}),
     headers: {"Content-Type": "application/json"}
   });
-  TEquals(CouchDB.protocol + host + "/test_suite_db/docidtestpost%250A",
+  TEquals(CouchDB.protocol + host + "/" + db_name + "/docidtestpost%250A",
     xhr.getResponseHeader("Location"),
     "should work with newlines in document names");
+
+    // cleanup
+    db.deleteDb();
 }

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/invalid_docids.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/invalid_docids.js b/test/javascript/tests/invalid_docids.js
index d0195b0..0e5c70c 100644
--- a/test/javascript/tests/invalid_docids.js
+++ b/test/javascript/tests/invalid_docids.js
@@ -11,8 +11,8 @@
 // the License.
 
 couchTests.invalid_docids = function(debug) {
-  var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
-  db.deleteDb();
+  var db_name = get_random_db_name();
+  var db = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"});
   db.createDb();
   if (debug) debugger;
 
@@ -21,10 +21,10 @@ couchTests.invalid_docids = function(debug) {
   T(db.open("_local/foo")._id == "_local/foo");
 
   var urls = [
-      "/test_suite_db/_local",
-      "/test_suite_db/_local/",
-      "/test_suite_db/_local%2F",
-      "/test_suite_db/_local/foo/bar",
+      "/" + db_name + "/_local",
+      "/" + db_name + "/_local/",
+      "/" + db_name + "/_local%2F",
+      "/" + db_name + "/_local/foo/bar",
   ];
 
   urls.forEach(function(u) {
@@ -39,18 +39,18 @@ couchTests.invalid_docids = function(debug) {
     T(1 == 0, "doc id must be string");
   } catch(e) {
       T(db.last_req.status == 400);
-      T(e.error == "bad_request");
+      T(e.error == "illegal_docid");
   }
 
   // Via PUT with _id not in body.
-  var res = res = db.request("PUT", "/test_suite_db/_other", {"body": "{}"});
+  var res = res = db.request("PUT", "/" + db_name + "/_other", {"body": "{}"});
   T(res.status == 400);
-  T(JSON.parse(res.responseText).error == "bad_request");
+  T(JSON.parse(res.responseText).error == "illegal_docid");
 
   // Accidental POST to form handling code.
-  res = db.request("POST", "/test_suite_db/_tmp_view", {"body": "{}"});
+  res = db.request("POST", "/" + db_name + "/_tmp_view", {"body": "{}"});
   T(res.status == 400);
-  T(JSON.parse(res.responseText).error == "bad_request");
+  T(JSON.parse(res.responseText).error == "illegal_docid");
 
   // Test invalid _prefix
   try {
@@ -58,7 +58,7 @@ couchTests.invalid_docids = function(debug) {
     T(1 == 0, "doc id may not start with underscore");
   } catch(e) {
       T(db.last_req.status == 400);
-      T(e.error == "bad_request");
+      T(e.error == "illegal_docid");
   }
 
   // Test _bulk_docs explicitly.
@@ -72,6 +72,9 @@ couchTests.invalid_docids = function(debug) {
     T(1 == 0, "doc id may not start with underscore, even in bulk docs");
   } catch(e) {
       T(db.last_req.status == 400);
-      T(e.error == "bad_request");
+      T(e.error == "illegal_docid");
   }
+
+  // cleanup
+  db.deleteDb();
 };

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/jsonp.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/jsonp.js b/test/javascript/tests/jsonp.js
index e4f4490..1013c9e 100644
--- a/test/javascript/tests/jsonp.js
+++ b/test/javascript/tests/jsonp.js
@@ -28,8 +28,8 @@ function jsonp_chunk(doc) {
 
 // Do some jsonp tests.
 couchTests.jsonp = function(debug) {
-  var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
-  db.deleteDb();
+  var db_name = get_random_db_name();
+  var db = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"});
   db.createDb();
   if (debug) debugger;
   
@@ -37,7 +37,7 @@ couchTests.jsonp = function(debug) {
   T(db.save(doc).ok);
   
   // callback param is ignored unless jsonp is configured
-  var xhr = CouchDB.request("GET", "/test_suite_db/0?callback=jsonp_not_configured");
+  var xhr = CouchDB.request("GET", "/" + db_name + "/0?callback=jsonp_not_configured");
   JSON.parse(xhr.responseText);
 
   run_on_modified_server(
@@ -47,13 +47,13 @@ couchTests.jsonp = function(debug) {
   function() {
 
     // Test unchunked callbacks.
-    var xhr = CouchDB.request("GET", "/test_suite_db/0?callback=jsonp_no_chunk");
+    var xhr = CouchDB.request("GET", "/" + db_name + "/0?callback=jsonp_no_chunk");
     TEquals("application/javascript", xhr.getResponseHeader("Content-Type"));
     T(xhr.status == 200);
     jsonp_flag = 0;
     eval(xhr.responseText);
     T(jsonp_flag == 1);
-    xhr = CouchDB.request("GET", "/test_suite_db/0?callback=foo\"");
+    xhr = CouchDB.request("GET", "/" + db_name + "/0?callback=foo\"");
     T(xhr.status == 400);
 
     // Test chunked responses
@@ -69,7 +69,7 @@ couchTests.jsonp = function(debug) {
     };
     T(db.save(designDoc).ok);
 
-    var url = "/test_suite_db/_design/test/_view/all_docs?callback=jsonp_chunk";
+    var url = "/" + db_name + "/_design/test/_view/all_docs?callback=jsonp_chunk";
     xhr = CouchDB.request("GET", url);
     TEquals("application/javascript", xhr.getResponseHeader("Content-Type"));
     T(xhr.status == 200);
@@ -80,5 +80,6 @@ couchTests.jsonp = function(debug) {
     T(xhr.status == 400);
   });
 
-
+  // cleanup
+  db.deleteDb();
 };

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/large_docs.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/large_docs.js b/test/javascript/tests/large_docs.js
index b84648b..7528e9a 100644
--- a/test/javascript/tests/large_docs.js
+++ b/test/javascript/tests/large_docs.js
@@ -11,8 +11,8 @@
 // the License.
 
 couchTests.large_docs = function(debug) {
-  var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
-  db.deleteDb();
+  var db_name = get_random_db_name();
+  var db = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"});
   db.createDb();
   if (debug) debugger;
 
@@ -30,4 +30,7 @@ couchTests.large_docs = function(debug) {
   results = db.query(function(doc){
       emit(null, doc.longtest);
   });
+
+  // cleanup
+  db.deleteDb();
 };

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/list_views.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/list_views.js b/test/javascript/tests/list_views.js
index ece81ea..cc5a111 100644
--- a/test/javascript/tests/list_views.js
+++ b/test/javascript/tests/list_views.js
@@ -11,8 +11,10 @@
 // the License.
 
 couchTests.list_views = function(debug) {
-  var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
-  db.deleteDb();
+  return console.log('TODO: HTTP OPTIONS req not allowed for list reqs');
+
+  var db_name = get_random_db_name();
+  var db = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"});
   db.createDb();
   if (debug) debugger;
 
@@ -206,35 +208,35 @@ couchTests.list_views = function(debug) {
   T(view.total_rows == 10);
 
   // standard get
-  var xhr = CouchDB.request("GET", "/test_suite_db/_design/lists/_list/basicBasic/basicView");
+  var xhr = CouchDB.request("GET", "/" + db_name + "/_design/lists/_list/basicBasic/basicView");
   T(xhr.status == 200, "standard get should be 200");
   T(/head0123456789tail/.test(xhr.responseText));
 
   // standard options
-  var xhr = CouchDB.request("OPTIONS", "/test_suite_db/_design/lists/_list/basicBasic/basicView");
+  var xhr = CouchDB.request("OPTIONS", "/" + db_name + "/_design/lists/_list/basicBasic/basicView");
   T(xhr.status == 200, "standard get should be 200");
   T(/head0123456789tail/.test(xhr.responseText));
 
   // test that etags are available
   var etag = xhr.getResponseHeader("etag");
-  xhr = CouchDB.request("GET", "/test_suite_db/_design/lists/_list/basicBasic/basicView", {
+  xhr = CouchDB.request("GET", "/" + db_name + "/_design/lists/_list/basicBasic/basicView", {
     headers: {"if-none-match": etag}
   });
   T(xhr.status == 304);
   
   // confirm ETag changes with different POST bodies
-  xhr = CouchDB.request("POST", "/test_suite_db/_design/lists/_list/basicBasic/basicView",
+  xhr = CouchDB.request("POST", "/" + db_name + "/_design/lists/_list/basicBasic/basicView",
     {body: JSON.stringify({keys:[1]})}
   );
   var etag1 = xhr.getResponseHeader("etag");
-  xhr = CouchDB.request("POST", "/test_suite_db/_design/lists/_list/basicBasic/basicView",
+  xhr = CouchDB.request("POST", "/" + db_name + "/_design/lists/_list/basicBasic/basicView",
     {body: JSON.stringify({keys:[2]})}
   );
   var etag2 = xhr.getResponseHeader("etag");
   T(etag1 != etag2, "POST to map _list generates key-depdendent ETags");
 
   // test the richness of the arguments
-  xhr = CouchDB.request("GET", "/test_suite_db/_design/lists/_list/basicJSON/basicView?update_seq=true");
+  xhr = CouchDB.request("GET", "/" + db_name + "/_design/lists/_list/basicJSON/basicView?update_seq=true");
   T(xhr.status == 200, "standard get should be 200");
   var resp = JSON.parse(xhr.responseText);
   TEquals(10, resp.head.total_rows);
@@ -244,10 +246,10 @@ couchTests.list_views = function(debug) {
   T(resp.rows.length == 10);
   TEquals(resp.rows[0], {"id": "0","key": 0,"value": "0"});
 
-  TEquals(resp.req.info.db_name, "test_suite_db");
+  TEquals(resp.req.info.db_name, "" + db_name + "");
   TEquals(resp.req.method, "GET");
   TEquals(resp.req.path, [
-      "test_suite_db",
+      "" + db_name + "",
       "_design",
       "lists",
       "_list",
@@ -258,57 +260,57 @@ couchTests.list_views = function(debug) {
   T(resp.req.headers.Host);
   T(resp.req.headers["User-Agent"]);
   T(resp.req.cookie);
-  TEquals("/test_suite_db/_design/lists/_list/basicJSON/basicView?update_seq=true",
+  TEquals("/" + db_name + "/_design/lists/_list/basicJSON/basicView?update_seq=true",
     resp.req.raw_path, "should include raw path");
 
   // get with query params
-  xhr = CouchDB.request("GET", "/test_suite_db/_design/lists/_list/simpleForm/basicView?startkey=3&endkey=8");
+  xhr = CouchDB.request("GET", "/" + db_name + "/_design/lists/_list/simpleForm/basicView?startkey=3&endkey=8");
   T(xhr.status == 200, "with query params");
   T(!(/Key: 1/.test(xhr.responseText)));
   T(/FirstKey: 3/.test(xhr.responseText));
   T(/LastKey: 8/.test(xhr.responseText));
 
   // with 0 rows
-  var xhr = CouchDB.request("GET", "/test_suite_db/_design/lists/_list/simpleForm/basicView?startkey=30");
+  var xhr = CouchDB.request("GET", "/" + db_name + "/_design/lists/_list/simpleForm/basicView?startkey=30");
   T(xhr.status == 200, "0 rows");
   T(/<\/ul>/.test(xhr.responseText));
 
   //too many Get Rows
-  var xhr = CouchDB.request("GET", "/test_suite_db/_design/lists/_list/tooManyGetRows/basicView");
+  var xhr = CouchDB.request("GET", "/" + db_name + "/_design/lists/_list/tooManyGetRows/basicView");
   T(xhr.status == 200, "tooManyGetRows");
   T(/9after row: null/.test(xhr.responseText));
 
 
   // reduce with 0 rows
-  var xhr = CouchDB.request("GET", "/test_suite_db/_design/lists/_list/simpleForm/withReduce?startkey=30");
+  var xhr = CouchDB.request("GET", "/" + db_name + "/_design/lists/_list/simpleForm/withReduce?startkey=30");
   T(xhr.status == 200, "reduce 0 rows");
   T(/LastKey: undefined/.test(xhr.responseText));
 
   // when there is a reduce present, but not used
-  var xhr = CouchDB.request("GET", "/test_suite_db/_design/lists/_list/simpleForm/withReduce?reduce=false");
+  var xhr = CouchDB.request("GET", "/" + db_name + "/_design/lists/_list/simpleForm/withReduce?reduce=false");
   T(xhr.status == 200, "reduce false");
   T(/Key: 1/.test(xhr.responseText));
 
 
   // when there is a reduce present, and used
-  xhr = CouchDB.request("GET", "/test_suite_db/_design/lists/_list/simpleForm/withReduce?group=true");
+  xhr = CouchDB.request("GET", "/" + db_name + "/_design/lists/_list/simpleForm/withReduce?group=true");
   T(xhr.status == 200, "group reduce");
   T(/Key: 1/.test(xhr.responseText));
 
   // there should be etags on reduce as well
   var etag = xhr.getResponseHeader("etag");
   T(etag, "Etags should be served with reduce lists");
-  xhr = CouchDB.request("GET", "/test_suite_db/_design/lists/_list/simpleForm/withReduce?group=true", {
+  xhr = CouchDB.request("GET", "/" + db_name + "/_design/lists/_list/simpleForm/withReduce?group=true", {
     headers: {"if-none-match": etag}
   });
   T(xhr.status == 304);
 
   // confirm ETag changes with different POST bodies
-  xhr = CouchDB.request("POST", "/test_suite_db/_design/lists/_list/simpleForm/withReduce?group=true",
+  xhr = CouchDB.request("POST", "/" + db_name + "/_design/lists/_list/simpleForm/withReduce?group=true",
     {body: JSON.stringify({keys:[1]})}
   );
   var etag1 = xhr.getResponseHeader("etag");
-  xhr = CouchDB.request("POST", "/test_suite_db/_design/lists/_list/simpleForm/withReduce?group=true",
+  xhr = CouchDB.request("POST", "/" + db_name + "/_design/lists/_list/simpleForm/withReduce?group=true",
     {body: JSON.stringify({keys:[2]})}
   );
   var etag2 = xhr.getResponseHeader("etag");
@@ -318,19 +320,19 @@ couchTests.list_views = function(debug) {
   var docs = makeDocs(11, 12);
   db.bulkSave(docs);
 
-  xhr = CouchDB.request("GET", "/test_suite_db/_design/lists/_list/simpleForm/withReduce?group=true", {
+  xhr = CouchDB.request("GET", "/" + db_name + "/_design/lists/_list/simpleForm/withReduce?group=true", {
     headers: {"if-none-match": etag}
   });
   T(xhr.status == 200, "reduce etag");
 
   // empty list
-  var xhr = CouchDB.request("GET", "/test_suite_db/_design/lists/_list/emptyList/basicView");
+  var xhr = CouchDB.request("GET", "/" + db_name + "/_design/lists/_list/emptyList/basicView");
   T(xhr.responseText.match(/^ $/));
-  xhr = CouchDB.request("GET", "/test_suite_db/_design/lists/_list/emptyList/withReduce?group=true");
+  xhr = CouchDB.request("GET", "/" + db_name + "/_design/lists/_list/emptyList/withReduce?group=true");
   T(xhr.responseText.match(/^ $/));
 
   // multi-key fetch
-  var xhr = CouchDB.request("POST", "/test_suite_db/_design/lists/_list/simpleForm/basicView", {
+  var xhr = CouchDB.request("POST", "/" + db_name + "/_design/lists/_list/simpleForm/basicView", {
     body: '{"keys":[2,4,5,7]}'
   });
   T(xhr.status == 200, "multi key");
@@ -340,7 +342,7 @@ couchTests.list_views = function(debug) {
   T(/LastKey: 7/.test(xhr.responseText));
 
   // multi-key fetch with GET
-  var xhr = CouchDB.request("GET", "/test_suite_db/_design/lists/_list/simpleForm/basicView" +
+  var xhr = CouchDB.request("GET", "/" + db_name + "/_design/lists/_list/simpleForm/basicView" +
     "?keys=[2,4,5,7]");
 
   T(xhr.status == 200, "multi key");
@@ -350,29 +352,29 @@ couchTests.list_views = function(debug) {
   T(/LastKey: 7/.test(xhr.responseText));
 
   // no multi-key fetch allowed when group=false
-  xhr = CouchDB.request("POST", "/test_suite_db/_design/lists/_list/simpleForm/withReduce?group=false", {
+  xhr = CouchDB.request("POST", "/" + db_name + "/_design/lists/_list/simpleForm/withReduce?group=false", {
     body: '{"keys":[2,4,5,7]}'
   });
   T(xhr.status == 400);
   T(/query_parse_error/.test(xhr.responseText));
 
-  var xhr = CouchDB.request("GET", "/test_suite_db/_design/lists/_list/rowError/basicView");
+  var xhr = CouchDB.request("GET", "/" + db_name + "/_design/lists/_list/rowError/basicView");
   T(/ReferenceError/.test(xhr.responseText));
 
 
   // with include_docs and a reference to the doc.
-  var xhr = CouchDB.request("GET", "/test_suite_db/_design/lists/_list/docReference/basicView?include_docs=true");
+  var xhr = CouchDB.request("GET", "/" + db_name + "/_design/lists/_list/docReference/basicView?include_docs=true");
   T(xhr.responseText.match(/head0tail/));
 
   // now with extra qs params
-  var xhr = CouchDB.request("GET", "/test_suite_db/_design/lists/_list/qsParams/basicView?foo=blam");
+  var xhr = CouchDB.request("GET", "/" + db_name + "/_design/lists/_list/qsParams/basicView?foo=blam");
   T(xhr.responseText.match(/blam/));
 
-  var xhr = CouchDB.request("GET", "/test_suite_db/_design/lists/_list/stopIter/basicView");
+  var xhr = CouchDB.request("GET", "/" + db_name + "/_design/lists/_list/stopIter/basicView");
   // T(xhr.getResponseHeader("Content-Type") == "text/plain");
   T(xhr.responseText.match(/^head 0 1 2 tail$/) && "basic stop");
 
-  xhr = CouchDB.request("GET", "/test_suite_db/_design/lists/_list/stopIter2/basicView", {
+  xhr = CouchDB.request("GET", "/" + db_name + "/_design/lists/_list/stopIter2/basicView", {
     headers : {
       "Accept" : "text/html"
     }
@@ -380,9 +382,9 @@ couchTests.list_views = function(debug) {
   T(xhr.responseText.match(/^head 0 1 2 tail$/) && "stop 2");
 
   // aborting iteration with reduce
-  var xhr = CouchDB.request("GET", "/test_suite_db/_design/lists/_list/stopIter/withReduce?group=true");
+  var xhr = CouchDB.request("GET", "/" + db_name + "/_design/lists/_list/stopIter/withReduce?group=true");
   T(xhr.responseText.match(/^head 0 1 2 tail$/) && "reduce stop");
-  xhr = CouchDB.request("GET", "/test_suite_db/_design/lists/_list/stopIter2/withReduce?group=true", {
+  xhr = CouchDB.request("GET", "/" + db_name + "/_design/lists/_list/stopIter2/withReduce?group=true", {
     headers : {
       "Accept" : "text/html"
     }
@@ -390,7 +392,7 @@ couchTests.list_views = function(debug) {
   T(xhr.responseText.match(/^head 0 1 2 tail$/) && "reduce stop 2");
 
   // with accept headers for HTML
-  xhr = CouchDB.request("GET", "/test_suite_db/_design/lists/_list/acceptSwitch/basicView", {
+  xhr = CouchDB.request("GET", "/" + db_name + "/_design/lists/_list/acceptSwitch/basicView", {
     headers: {
       "Accept": 'text/html'
     }
@@ -401,7 +403,7 @@ couchTests.list_views = function(debug) {
 
   // Test we can run lists and views from separate docs.
   T(db.save(viewOnlyDesignDoc).ok);
-  var url = "/test_suite_db/_design/lists/_list/simpleForm/views/basicView" +
+  var url = "/" + db_name + "/_design/lists/_list/simpleForm/views/basicView" +
                 "?startkey=-3";
   xhr = CouchDB.request("GET", url);
   T(xhr.status == 200, "multiple design docs.");
@@ -410,7 +412,7 @@ couchTests.list_views = function(debug) {
   T(/LastKey: 0/.test(xhr.responseText));
 
   // Test we do multi-key requests on lists and views in separate docs.
-  var url = "/test_suite_db/_design/lists/_list/simpleForm/views/basicView";
+  var url = "/" + db_name + "/_design/lists/_list/simpleForm/views/basicView";
   xhr = CouchDB.request("POST", url, {
     body: '{"keys":[-2,-4,-5,-7]}'
   });
@@ -422,14 +424,14 @@ couchTests.list_views = function(debug) {
   T(/LastKey: -7/.test(xhr.responseText));
 
     // Test if secObj is available
-  var xhr = CouchDB.request("GET", "/test_suite_db/_design/lists/_list/secObj/basicView");
+  var xhr = CouchDB.request("GET", "/" + db_name + "/_design/lists/_list/secObj/basicView");
   T(xhr.status == 200, "standard get should be 200");
   var resp = JSON.parse(xhr.responseText);
   T(typeof(resp) == "object");
 
   var erlViewTest = function() {
     T(db.save(erlListDoc).ok);
-    var url = "/test_suite_db/_design/erlang/_list/simple/views/basicView" +
+    var url = "/" + db_name + "/_design/erlang/_list/simple/views/basicView" +
                 "?startkey=-3";
     xhr = CouchDB.request("GET", url);
     T(xhr.status == 200, "multiple languages in design docs.");
@@ -474,19 +476,22 @@ couchTests.list_views = function(debug) {
   TEquals(200, resp.status, "should return a 200 response");
 
   // TEST HTTP header response set after getRow() called in _list function.
-  var xhr = CouchDB.request("GET", "/test_suite_db/_design/lists/_list/setHeaderAfterGotRow/basicView");
+  var xhr = CouchDB.request("GET", "/" + db_name + "/_design/lists/_list/setHeaderAfterGotRow/basicView");
   T(xhr.status == 400);
   T(xhr.getResponseHeader("X-My-Header") == "MyHeader");
   T(xhr.responseText.match(/^bad request$/));
 
   // test handling _all_docs by _list functions. the result should be equal
-  var xhr_lAllDocs = CouchDB.request("GET", "/test_suite_db/_design/lists/_list/allDocs/_all_docs");
+  var xhr_lAllDocs = CouchDB.request("GET", "/" + db_name + "/_design/lists/_list/allDocs/_all_docs");
   T(xhr_lAllDocs.status == 200, "standard get should be 200");
-  var xhr_allDocs = CouchDB.request("GET", "/test_suite_db/_all_docs");
+  var xhr_allDocs = CouchDB.request("GET", "/" + db_name + "/_all_docs");
   var allDocs = JSON.parse(xhr_allDocs.responseText);
   var lAllDocs = JSON.parse(xhr_lAllDocs.responseText);
   TEquals(allDocs.total_rows, lAllDocs.total_rows, "total_rows mismatch");
   TEquals(allDocs.offset, lAllDocs.offset, "offset mismatch");
   TEquals(allDocs.rows.length, lAllDocs.rows.length, "amount of rows mismatch");
   TEquals(allDocs.rows, lAllDocs.rows, "rows mismatch");
+
+  // cleanup
+  db.deleteDb();
 };

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/lots_of_docs.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/lots_of_docs.js b/test/javascript/tests/lots_of_docs.js
index 2fe702b..024284c 100644
--- a/test/javascript/tests/lots_of_docs.js
+++ b/test/javascript/tests/lots_of_docs.js
@@ -12,8 +12,8 @@
 
 // test saving a semi-large quanitity of documents and do some view queries.
 couchTests.lots_of_docs = function(debug) {
-  var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
-  db.deleteDb();
+  var db_name = get_random_db_name();
+  var db = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"});
   db.createDb();
   if (debug) debugger;
 
@@ -52,4 +52,7 @@ couchTests.lots_of_docs = function(debug) {
   // Check _all_docs with descending=true again (now that there are many docs)
   var desc = db.allDocs({descending:true});
   T(desc.total_rows == desc.rows.length);
+
+  // cleanup
+  db.deleteDb();
 };

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/method_override.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/method_override.js b/test/javascript/tests/method_override.js
index 0bb4c61..fa3e5e8 100644
--- a/test/javascript/tests/method_override.js
+++ b/test/javascript/tests/method_override.js
@@ -15,26 +15,29 @@ couchTests.method_override = function(debug) {
   var result = JSON.parse(CouchDB.request("GET", "/").responseText);
   T(result.couchdb == "Welcome");
 
-  var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
-  db.deleteDb();
+  var db_name = get_random_db_name();
+  var db = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"});
 
   db.createDb();
 
   var doc = {bob : "connie"};
-  xhr = CouchDB.request("POST", "/test_suite_db/fnord", {body: JSON.stringify(doc), headers:{"X-HTTP-Method-Override" : "PUT"}});
+  xhr = CouchDB.request("POST", "/" + db_name + "/fnord", {body: JSON.stringify(doc), headers:{"X-HTTP-Method-Override" : "PUT"}});
   T(xhr.status == 201);
 
   doc = db.open("fnord");
   T(doc.bob == "connie");
 
-  xhr = CouchDB.request("POST", "/test_suite_db/fnord?rev=" + doc._rev, {headers:{"X-HTTP-Method-Override" : "DELETE"}});
+  xhr = CouchDB.request("POST", "/" + db_name + "/fnord?rev=" + doc._rev, {headers:{"X-HTTP-Method-Override" : "DELETE"}});
   T(xhr.status == 200);
 
-  xhr = CouchDB.request("GET", "/test_suite_db/fnord2", {body: JSON.stringify(doc), headers:{"X-HTTP-Method-Override" : "PUT"}});
+  xhr = CouchDB.request("GET", "/" + db_name + "/fnord2", {body: JSON.stringify(doc), headers:{"X-HTTP-Method-Override" : "PUT"}});
   // Method Override is ignored when original Method isn't POST
   T(xhr.status == 404);
 
   doc = db.open("fnord");
   T(doc == null);  
 
+  // cleanup
+  db.deleteDb();
+
 };

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/multiple_rows.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/multiple_rows.js b/test/javascript/tests/multiple_rows.js
index 4f6fcd3..0056e59 100644
--- a/test/javascript/tests/multiple_rows.js
+++ b/test/javascript/tests/multiple_rows.js
@@ -11,8 +11,8 @@
 // the License.
 
 couchTests.multiple_rows = function(debug) {
-  var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
-  db.deleteDb();
+  var db_name = get_random_db_name();
+  var db = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"});
   db.createDb();
   if (debug) debugger;
 
@@ -77,4 +77,7 @@ couchTests.multiple_rows = function(debug) {
   T(rows[4].key == "Springfield, FL");
   T(rows[5].key == "Tampa, FL");
   T(rows[6].key == "Wilmington, NC");
+
+  // cleanup
+  db.deleteDb();
 };

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/oauth_users_db.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/oauth_users_db.js b/test/javascript/tests/oauth_users_db.js
index b98069e..e244921 100644
--- a/test/javascript/tests/oauth_users_db.js
+++ b/test/javascript/tests/oauth_users_db.js
@@ -16,8 +16,14 @@ couchTests.oauth_users_db = function(debug) {
 
   if (debug) debugger;
 
-  var usersDb = new CouchDB("test_suite_users",{"X-Couch-Full-Commit":"false"});
-  var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
+  var users_db_name = get_random_db_name();
+  var usersDb = new CouchDB(users_db_name, {"X-Couch-Full-Commit":"false"});
+  usersDb.createDb();
+
+  var db_name = get_random_db_name();
+  var db = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"});
+  db.createDb();
+
   var host = CouchDB.host;
   var authorization_url = "/_oauth/authorize";
 

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/proxyauth.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/proxyauth.js b/test/javascript/tests/proxyauth.js
index 1677a66..79445a9 100644
--- a/test/javascript/tests/proxyauth.js
+++ b/test/javascript/tests/proxyauth.js
@@ -14,14 +14,16 @@
  
 couchTests.proxyauth = function(debug) {
   // this test proxy authentification handler
-  
-  var usersDb = new CouchDB("test_suite_users", {"X-Couch-Full-Commit":"false"});
-  var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
+
+  var users_db_name = get_random_db_name();
+  var usersDb = new CouchDB(users_db_name, {"X-Couch-Full-Commit":"false"});
+
+  var db_name = get_random_db_name();
+  var db = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"});
+  db.createDb();
   
   if (debug) debugger;
  
-  usersDb.deleteDb();
-
   // Simple secret key generator
   function generateSecret(length) {
     var tab = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
@@ -35,8 +37,6 @@ couchTests.proxyauth = function(debug) {
   var secret = generateSecret(64);
   
   function TestFun() {
-    db.deleteDb();
-    db.createDb();
     
     var benoitcUserDoc = CouchDB.prepareUserDoc({
       name: "benoitc@apache.org"
@@ -78,11 +78,11 @@ couchTests.proxyauth = function(debug) {
 
     db.save(designDoc);
     
-    var req = CouchDB.request("GET", "/test_suite_db/_design/test/_show/welcome",
+    var req = CouchDB.request("GET", "/" + db_name + "/_design/test/_show/welcome",
                         {headers: headers});
     T(req.responseText == "Welcome benoitc@apache.org");
     
-    req = CouchDB.request("GET", "/test_suite_db/_design/test/_show/role",
+    req = CouchDB.request("GET", "/" + db_name + "/_design/test/_show/role",
                         {headers: headers});
     T(req.responseText == "test");
     
@@ -92,11 +92,11 @@ couchTests.proxyauth = function(debug) {
     });
     T(xhr.status == 200);
     
-    req = CouchDB.request("GET", "/test_suite_db/_design/test/_show/welcome",
+    req = CouchDB.request("GET", "/" + db_name + "/_design/test/_show/welcome",
                         {headers: headers});
     T(req.responseText == "Welcome benoitc@apache.org");
     
-    req = CouchDB.request("GET", "/test_suite_db/_design/test/_show/role",
+    req = CouchDB.request("GET", "/" + db_name + "/_design/test/_show/role",
                         {headers: headers});
     T(req.responseText == "test");
     
@@ -108,7 +108,7 @@ couchTests.proxyauth = function(debug) {
       value:"{couch_httpd_auth, proxy_authentification_handler}, {couch_httpd_auth, default_authentication_handler}"},
       {section: "couch_httpd_auth",
         key: "authentication_db", 
-        value: "test_suite_users"},
+        value: users_db_name},
       {section: "couch_httpd_auth",
         key: "secret", 
         value: secret},
@@ -126,5 +126,7 @@ couchTests.proxyauth = function(debug) {
         value: "false"}],
     TestFun
   );
-  
+
+  // cleanup
+  db.deleteDb();
 };

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/purge.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/purge.js b/test/javascript/tests/purge.js
index 2968913..38eca8d 100644
--- a/test/javascript/tests/purge.js
+++ b/test/javascript/tests/purge.js
@@ -11,8 +11,9 @@
 // the License.
 
 couchTests.purge = function(debug) {
-  var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
-  db.deleteDb();
+  return console.log('TODO: this feature is not yet implemented');
+  var db_name = get_random_db_name();
+  var db = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"});
   db.createDb();
   if (debug) debugger;
 
@@ -49,9 +50,11 @@ couchTests.purge = function(debug) {
   var doc2 = db.open("2");
 
   // purge the documents
-  var xhr = CouchDB.request("POST", "/test_suite_db/_purge", {
+  var xhr = CouchDB.request("POST", "/" + db_name + "/_purge", {
     body: JSON.stringify({"1":[doc1._rev], "2":[doc2._rev]})
   });
+  console.log(xhr.status);
+  console.log(xhr.responseText);
   T(xhr.status == 200);
 
   var result = JSON.parse(xhr.responseText);
@@ -90,13 +93,13 @@ couchTests.purge = function(debug) {
   var doc3 = db.open("3");
   var doc4 = db.open("4");
 
-  xhr = CouchDB.request("POST", "/test_suite_db/_purge", {
+  xhr = CouchDB.request("POST", "/" + db_name + "/_purge", {
     body: JSON.stringify({"3":[doc3._rev]})
   });
 
   T(xhr.status == 200);
 
-  xhr = CouchDB.request("POST", "/test_suite_db/_purge", {
+  xhr = CouchDB.request("POST", "/" + db_name + "/_purge", {
     body: JSON.stringify({"4":[doc4._rev]})
   });
 
@@ -112,8 +115,8 @@ couchTests.purge = function(debug) {
   T(db.view("test/single_doc").total_rows == 0);
 
   // COUCHDB-1065
-  var dbA = new CouchDB("test_suite_db_a");
-  var dbB = new CouchDB("test_suite_db_b");
+  var dbA = new CouchDB("" + db_name + "_a");
+  var dbB = new CouchDB("" + db_name + "_b");
   dbA.deleteDb();
   dbA.createDb();
   dbB.deleteDb();
@@ -142,4 +145,7 @@ couchTests.purge = function(debug) {
     body: JSON.stringify({"test":[docA._rev, docB._rev]})
   });
   TEquals(200, xhr.status, "all rev purge after replication succeeds");
+
+  // cleanup
+  db.deleteDb();
 };

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/reader_acl.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/reader_acl.js b/test/javascript/tests/reader_acl.js
index ff770c7..1535b5c 100644
--- a/test/javascript/tests/reader_acl.js
+++ b/test/javascript/tests/reader_acl.js
@@ -13,11 +13,16 @@
 couchTests.reader_acl = function(debug) {
   // this tests read access control
 
-  var usersDb = new CouchDB("test_suite_users", {"X-Couch-Full-Commit":"false"});
-  var secretDb = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
+  var users_db_name = get_random_db_name();
+  var usersDb = new CouchDB(users_db_name, {"X-Couch-Full-Commit":"false"});
+
+  var db_name = get_random_db_name();
+  var secretDb = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"});
+
+
   function testFun() {
     try {
-      usersDb.deleteDb();
+      // usersDb.deleteDb();
       try {
         usersDb.createDb();
       } catch(e) {
@@ -25,7 +30,7 @@ couchTests.reader_acl = function(debug) {
          throw e;
         }
       }
-      secretDb.deleteDb();
+      // secretDb.deleteDb();
       secretDb.createDb();
 
       // create a user with top-secret-clearance
@@ -201,7 +206,7 @@ couchTests.reader_acl = function(debug) {
       key: "authentication_handlers",
       value: "{couch_httpd_auth, cookie_authentication_handler}, {couch_httpd_auth, default_authentication_handler}"},
      {section: "couch_httpd_auth",
-      key: "authentication_db", value: "test_suite_users"}],
+      key: "authentication_db", value: users_db_name}],
     testFun
   );
         
@@ -213,7 +218,10 @@ couchTests.reader_acl = function(debug) {
       key: "authentication_handlers",
       value: "{couch_httpd_auth, cookie_authentication_handler}, {couch_httpd_auth, default_authentication_handler}"},
      {section: "couch_httpd_auth",
-      key: "authentication_db", value: "test_suite_users"}],
+      key: "authentication_db", value: users_db_name}],
     testFun2
   );
+
+  // cleanup
+  db.deleteDb();
 }

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/recreate_doc.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/recreate_doc.js b/test/javascript/tests/recreate_doc.js
index f972379..cc8694b 100644
--- a/test/javascript/tests/recreate_doc.js
+++ b/test/javascript/tests/recreate_doc.js
@@ -11,8 +11,8 @@
 // the License.
 
 couchTests.recreate_doc = function(debug) {
-  var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
-  db.deleteDb();
+  var db_name = get_random_db_name();
+  var db = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"});
   db.createDb();
   if (debug) debugger;
 
@@ -106,7 +106,7 @@ couchTests.recreate_doc = function(debug) {
 
   var checkChanges = function() {
     // Assert that there are no duplicates in _changes.
-    var req = CouchDB.request("GET", "/test_suite_db/_changes");
+    var req = CouchDB.request("GET", "/" + db_name + "/_changes");
     var resp = JSON.parse(req.responseText);
     var docids = {};
     var prev_seq = -1;
@@ -142,4 +142,7 @@ couchTests.recreate_doc = function(debug) {
   T(db.save(revs[revs.length-1]).ok);
   checkChanges();
 
+  // cleanup
+  db.deleteDb();
+
 };

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/reduce.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/reduce.js b/test/javascript/tests/reduce.js
index 36e5cb7..9c373e4 100644
--- a/test/javascript/tests/reduce.js
+++ b/test/javascript/tests/reduce.js
@@ -11,8 +11,8 @@
 // the License.
 
 couchTests.reduce = function(debug) {
-  var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
-  db.deleteDb();
+  var db_name = get_random_db_name();
+  var db = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"});
   db.createDb();
   if (debug) debugger;
   var numDocs = 500;
@@ -48,6 +48,8 @@ couchTests.reduce = function(debug) {
   }
 
   db.deleteDb();
+  db_name = get_random_db_name();
+  db = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"});
   db.createDb();
 
   for(var i=1; i <= 5; i++) {
@@ -67,7 +69,8 @@ couchTests.reduce = function(debug) {
       docs.push({keys:["d", "b"]});
       docs.push({keys:["d", "c"]});
       db.bulkSave(docs);
-      T(db.info().doc_count == ((i - 1) * 10 * 11) + ((j + 1) * 11));
+      var total_docs = ((i - 1) * 10 * 11) + ((j + 1) * 11);
+      TEquals(total_docs, db.info().doc_count, "doc count should match");
     }
 
     map = function (doc) { emit(doc.keys, 1); };
@@ -118,11 +121,11 @@ couchTests.reduce = function(debug) {
   }
 
   // now test out more complex reductions that need to use the combine option.
-
   db.deleteDb();
+  db_name = get_random_db_name();
+  db = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"});
   db.createDb();
 
-
   var map = function (doc) { emit(doc.val, doc.val); };
   var reduceCombine = function (keys, values, rereduce) {
       // This computes the standard deviation of the mapped results
@@ -204,6 +207,8 @@ couchTests.reduce = function(debug) {
     }
 
     db.deleteDb();
+    db_name = get_random_db_name();
+    db = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"});
     db.createDb();
 
     for (var i = 0; i < 1123; i++) {
@@ -411,4 +416,6 @@ couchTests.reduce = function(debug) {
 
   testReducePagination();
 
+  // cleanup
+  db.deleteDb();
 };

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/reduce_builtin.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/reduce_builtin.js b/test/javascript/tests/reduce_builtin.js
index b3cc3cc..4bf9f8c 100644
--- a/test/javascript/tests/reduce_builtin.js
+++ b/test/javascript/tests/reduce_builtin.js
@@ -11,8 +11,8 @@
 // the License.
 
 couchTests.reduce_builtin = function(debug) {
-  var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
-  db.deleteDb();
+  var db_name = get_random_db_name();
+  var db = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"});
   db.createDb();
   if (debug) debugger;
 
@@ -113,7 +113,8 @@ couchTests.reduce_builtin = function(debug) {
       docs.push({keys:["d", "b"]});
       docs.push({keys:["d", "c"]});
       db.bulkSave(docs);
-      T(db.info().doc_count == ((i - 1) * 10 * 11) + ((j + 1) * 11));
+      var total_docs = ((i - 1) * 10 * 11) + ((j + 1) * 11);
+      TEquals(total_docs, db.info().doc_count, 'doc count should match');
     }
 
     map = function (doc) { emit(doc.keys, 1); };
@@ -176,4 +177,7 @@ couchTests.reduce_builtin = function(debug) {
     T(equals(results.rows[5], {key:["d","b"],value:[10*i,10*i]}));
     T(equals(results.rows[6], {key:["d","c"],value:[10*i,10*i]}));
   }
+
+  // cleanup
+  db.deleteDb();
 }

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/reduce_false.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/reduce_false.js b/test/javascript/tests/reduce_false.js
index 699b258..a800d98 100644
--- a/test/javascript/tests/reduce_false.js
+++ b/test/javascript/tests/reduce_false.js
@@ -11,8 +11,8 @@
 // the License.
 
 couchTests.reduce_false = function(debug) {
-  var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
-  db.deleteDb();
+  var db_name = get_random_db_name();
+  var db = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"});
   db.createDb();
   if (debug) debugger;
 
@@ -33,7 +33,9 @@ couchTests.reduce_false = function(debug) {
 
   // Test that the reduce works
   var res = db.view('test/summate');
-  T(res.rows.length == 1 && res.rows[0].value == summate(5));
+
+  TEquals(1, res.rows.length, "should have 1 row");
+  TEquals(summate(5), res.rows[0].value == summate(5), 'should summate up 5');
 
   //Test that we get our docs back
   res = db.view('test/summate', {reduce: false});
@@ -41,4 +43,7 @@ couchTests.reduce_false = function(debug) {
   for(var i=0; i<5; i++) {
     T(res.rows[i].value == i+1);
   }
+
+  // cleanup
+  db.deleteDb();
 };

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/reduce_false_temp.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/reduce_false_temp.js b/test/javascript/tests/reduce_false_temp.js
index d45f05b..51b23bd 100644
--- a/test/javascript/tests/reduce_false_temp.js
+++ b/test/javascript/tests/reduce_false_temp.js
@@ -11,8 +11,8 @@
 // the License.
 
 couchTests.reduce_false_temp = function(debug) {
-  var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
-  db.deleteDb();
+  var db_name = get_random_db_name();
+  var db = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"});
   db.createDb();
   if (debug) debugger;
 
@@ -34,4 +34,7 @@ couchTests.reduce_false_temp = function(debug) {
   for(var i=0; i<5; i++) {
     T(res.rows[i].value == i+1);
   }
+
+  // cleanup
+  db.deleteDb();
 };

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/replication.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/replication.js b/test/javascript/tests/replication.js
index 21a4304..900ea51 100644
--- a/test/javascript/tests/replication.js
+++ b/test/javascript/tests/replication.js
@@ -11,7 +11,7 @@
 // the License.
 
 couchTests.replication = function(debug) {
-
+  return console.log('TODO');
   if (debug) debugger;
 
   var host = CouchDB.host;

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/replicator_db_bad_rep_id.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/replicator_db_bad_rep_id.js b/test/javascript/tests/replicator_db_bad_rep_id.js
index 285b863..8f57eb0 100644
--- a/test/javascript/tests/replicator_db_bad_rep_id.js
+++ b/test/javascript/tests/replicator_db_bad_rep_id.js
@@ -11,7 +11,7 @@
 // the License.
 
 couchTests.replicator_db_bad_rep_id = function(debug) {
-
+  return console.log('TODO');
   if (debug) debugger;
 
   var populate_db = replicator_db.populate_db;

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/replicator_db_by_doc_id.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/replicator_db_by_doc_id.js b/test/javascript/tests/replicator_db_by_doc_id.js
index 1e1a385..e460ebd 100644
--- a/test/javascript/tests/replicator_db_by_doc_id.js
+++ b/test/javascript/tests/replicator_db_by_doc_id.js
@@ -11,6 +11,7 @@
 // the License.
 
 couchTests.replicator_db_by_doc_id = function(debug) {
+  return console.log('TODO');
 
   if (debug) debugger;
 

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/replicator_db_compact_rep_db.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/replicator_db_compact_rep_db.js b/test/javascript/tests/replicator_db_compact_rep_db.js
index 0dea0ed..8bd45f9 100644
--- a/test/javascript/tests/replicator_db_compact_rep_db.js
+++ b/test/javascript/tests/replicator_db_compact_rep_db.js
@@ -11,6 +11,7 @@
 // the License.
 
 couchTests.replicator_db_compact_rep_db = function(debug) {
+  return console.log('TODO');
 
   if (debug) debugger;
 

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/replicator_db_continuous.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/replicator_db_continuous.js b/test/javascript/tests/replicator_db_continuous.js
index a2b17d0..63174e9 100644
--- a/test/javascript/tests/replicator_db_continuous.js
+++ b/test/javascript/tests/replicator_db_continuous.js
@@ -11,6 +11,7 @@
 // the License.
 
 couchTests.replicator_db_continuous = function(debug) {
+  return console.log('TODO');
 
   if (debug) debugger;
 

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/replicator_db_credential_delegation.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/replicator_db_credential_delegation.js b/test/javascript/tests/replicator_db_credential_delegation.js
index 7dd9d18..6401819 100644
--- a/test/javascript/tests/replicator_db_credential_delegation.js
+++ b/test/javascript/tests/replicator_db_credential_delegation.js
@@ -11,6 +11,7 @@
 // the License.
 
 couchTests.replicator_db_credential_delegation = function(debug) {
+  return console.log('TODO');
 
   if (debug) debugger;
 

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/replicator_db_field_validation.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/replicator_db_field_validation.js b/test/javascript/tests/replicator_db_field_validation.js
index 167bdcc..9e7bb89 100644
--- a/test/javascript/tests/replicator_db_field_validation.js
+++ b/test/javascript/tests/replicator_db_field_validation.js
@@ -11,6 +11,7 @@
 // the License.
 
 couchTests.replicator_db_field_validation = function(debug) {
+  return console.log('TODO');
 
   if (debug) debugger;
 

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/replicator_db_filtered.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/replicator_db_filtered.js b/test/javascript/tests/replicator_db_filtered.js
index 31c78a7..7675b41 100644
--- a/test/javascript/tests/replicator_db_filtered.js
+++ b/test/javascript/tests/replicator_db_filtered.js
@@ -11,6 +11,7 @@
 // the License.
 
 couchTests.replicator_db_filtered = function(debug) {
+  return console.log('TODO');
 
   if (debug) debugger;
 

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/replicator_db_identical.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/replicator_db_identical.js b/test/javascript/tests/replicator_db_identical.js
index cdf4592..15bedc6 100644
--- a/test/javascript/tests/replicator_db_identical.js
+++ b/test/javascript/tests/replicator_db_identical.js
@@ -11,6 +11,7 @@
 // the License.
 
 couchTests.replicator_db_identical = function(debug) {
+  return console.log('TODO');
 
   if (debug) debugger;
 

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/replicator_db_identical_continuous.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/replicator_db_identical_continuous.js b/test/javascript/tests/replicator_db_identical_continuous.js
index 240c531..bafa19c 100644
--- a/test/javascript/tests/replicator_db_identical_continuous.js
+++ b/test/javascript/tests/replicator_db_identical_continuous.js
@@ -11,6 +11,7 @@
 // the License.
 
 couchTests.replicator_db_identical_continuous = function(debug) {
+  return console.log('TODO');
 
   if (debug) debugger;
 

http://git-wip-us.apache.org/repos/asf/couchdb/blob/467f87a2/test/javascript/tests/replicator_db_invalid_filter.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/replicator_db_invalid_filter.js b/test/javascript/tests/replicator_db_invalid_filter.js
index 7b6df82..38c7469 100644
--- a/test/javascript/tests/replicator_db_invalid_filter.js
+++ b/test/javascript/tests/replicator_db_invalid_filter.js
@@ -11,6 +11,7 @@
 // the License.
 
 couchTests.replicator_db_invalid_filter = function(debug) {
+  return console.log('TODO');
 
   if (debug) debugger;
 


Mime
View raw message