couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject [43/50] couchdb commit: updated refs/heads/master to e8e03b6
Date Wed, 16 Dec 2015 21:15:44 GMT
JS test: update view_multi_key_design.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/284b4e02
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/284b4e02
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/284b4e02

Branch: refs/heads/master
Commit: 284b4e025e3883ca39d5dd05de670a56a6034f14
Parents: e465a24
Author: Jan Lehnardt <jan@apache.org>
Authored: Wed Dec 16 20:49:34 2015 +0100
Committer: Jan Lehnardt <jan@apache.org>
Committed: Wed Dec 16 20:49:34 2015 +0100

----------------------------------------------------------------------
 test/javascript/tests/view_multi_key_design.js | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/284b4e02/test/javascript/tests/view_multi_key_design.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/view_multi_key_design.js b/test/javascript/tests/view_multi_key_design.js
index a84d07a..12be7b5 100644
--- a/test/javascript/tests/view_multi_key_design.js
+++ b/test/javascript/tests/view_multi_key_design.js
@@ -11,8 +11,9 @@
 // the License.
 
 couchTests.view_multi_key_design = 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;
 
@@ -217,4 +218,7 @@ couchTests.view_multi_key_design = function(debug) {
   T(curr.length == 2);
   T(curr[0].value == 27);
   T(curr[1].value == 26);
+
+  // cleanup
+  db.deleteDb();
 };


Mime
View raw message