couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject [48/50] couchdb commit: updated refs/heads/2876-js-tests-merged-squashed to f44e15f
Date Wed, 16 Dec 2015 19:52:43 GMT
JS test: update view_sandboxing.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/4d560970
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/4d560970
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/4d560970

Branch: refs/heads/2876-js-tests-merged-squashed
Commit: 4d560970e85f77d256a145d768550b087016c352
Parents: 50b5a47
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_sandboxing.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/4d560970/test/javascript/tests/view_sandboxing.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/view_sandboxing.js b/test/javascript/tests/view_sandboxing.js
index 5c73c5a..52fd718 100644
--- a/test/javascript/tests/view_sandboxing.js
+++ b/test/javascript/tests/view_sandboxing.js
@@ -11,8 +11,8 @@
 // the License.
 
 couchTests.view_sandboxing = 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;
 


Mime
View raw message