From 8385f5dc3167578bd24806d21a5f0f1f6ec3250b Mon Sep 17 00:00:00 2001 From: Jan Lehnardt Date: Sun, 16 Aug 2009 17:32:34 +0000 Subject: make tests fast again, use X-Couch-Full-Commit:false for all db operations git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@804727 13f79535-47bb-0310-9956-ffa450edef68 --- share/www/script/test/view_offsets.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'share/www/script/test/view_offsets.js') diff --git a/share/www/script/test/view_offsets.js b/share/www/script/test/view_offsets.js index 2ac2cdf7..464a1ae2 100644 --- a/share/www/script/test/view_offsets.js +++ b/share/www/script/test/view_offsets.js @@ -13,7 +13,7 @@ couchTests.view_offsets = function(debug) { if (debug) debugger; - var db = new CouchDB("test_suite_db"); + var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"}); db.deleteDb(); db.createDb(); @@ -60,7 +60,7 @@ couchTests.view_offsets = function(debug) { ].forEach(function(row){ check(row[0], row[1]);}); var runTest = function () { - var db = new CouchDB("test_suite_db"); + var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"}); db.deleteDb(); db.createDb(); -- cgit v1.2.3