couchdb-commits mailing list archives

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

Branch: refs/heads/master
Commit: 6e5f191a2e0184ec1baac85533b6ec0b2091969c
Parents: 284b4e0
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_temp.js | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/6e5f191a/test/javascript/tests/view_multi_key_temp.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/view_multi_key_temp.js b/test/javascript/tests/view_multi_key_temp.js
index 3c05409..25bec4b 100644
--- a/test/javascript/tests/view_multi_key_temp.js
+++ b/test/javascript/tests/view_multi_key_temp.js
@@ -11,8 +11,8 @@
 // the License.
 
 couchTests.view_multi_key_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;
 
@@ -37,4 +37,7 @@ couchTests.view_multi_key_temp = function(debug) {
 
   rows = db.query(queryFun, null, {}, []).rows;
   T(rows.length == 0);
+
+  // cleanup
+  db.deleteDb();
 };


Mime
View raw message