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/security_validation.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'share/www/script/test/security_validation.js') diff --git a/share/www/script/test/security_validation.js b/share/www/script/test/security_validation.js index 52f895bd..d07195e1 100644 --- a/share/www/script/test/security_validation.js +++ b/share/www/script/test/security_validation.js @@ -32,7 +32,7 @@ couchTests.security_validation = function(debug) { // Firefox and Safari both deal with this correctly (which is to say // they correctly do nothing special). - var db = new CouchDB("test_suite_db"); + var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"}); db.deleteDb(); db.createDb(); if (debug) debugger; @@ -209,8 +209,8 @@ couchTests.security_validation = function(debug) { target:{url:"http://" + host + "/test_suite_db_b", headers: AuthHeaders}}, ] - var adminDbA = new CouchDB("test_suite_db_a"); - var adminDbB = new CouchDB("test_suite_db_b"); + var adminDbA = new CouchDB("test_suite_db_a", {"X-Couch-Full-Commit":"false"}); + var adminDbB = new CouchDB("test_suite_db_b", {"X-Couch-Full-Commit":"false"}); var dbA = new CouchDB("test_suite_db_a", {"WWW-Authenticate": "X-Couch-Test-Auth Christopher Lenz:dog food"}); var dbB = new CouchDB("test_suite_db_b", -- cgit v1.2.3