JS test: update view_collation_raw.js for 2.0
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/9e38cdf5 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/9e38cdf5 Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/9e38cdf5 Branch: refs/heads/2876-js-tests-merged-squashed Commit: 9e38cdf5c86477a6d5aec50866fb0e175fbb8564 Parents: 1a72af4 Author: Jan Lehnardt <[email protected]> Authored: Wed Dec 16 20:49:34 2015 +0100 Committer: Jan Lehnardt <[email protected]> Committed: Wed Dec 16 20:49:34 2015 +0100 ---------------------------------------------------------------------- test/javascript/tests/view_collation_raw.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/9e38cdf5/test/javascript/tests/view_collation_raw.js ---------------------------------------------------------------------- diff --git a/test/javascript/tests/view_collation_raw.js b/test/javascript/tests/view_collation_raw.js index 779f7eb..2977b98 100644 --- a/test/javascript/tests/view_collation_raw.js +++ b/test/javascript/tests/view_collation_raw.js @@ -11,8 +11,9 @@ // the License. couchTests.view_collation_raw = 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; @@ -127,4 +128,7 @@ couchTests.view_collation_raw = function(debug) { endkey : "b", endkey_docid: "11", inclusive_end:false}).rows; T(rows[rows.length-1].key == "aa"); + + // cleanup + db.deleteDb(); };
