diff options
author | Jan Lehnardt <jan@apache.org> | 2009-08-16 17:32:34 +0000 |
---|---|---|
committer | Jan Lehnardt <jan@apache.org> | 2009-08-16 17:32:34 +0000 |
commit | 8385f5dc3167578bd24806d21a5f0f1f6ec3250b (patch) | |
tree | 18d43a4f32f84ec9d1fb810a08cf377bf66401c2 /share/www/script/test/security_validation.js | |
parent | fa7efcbf4108c560f273fbd6f42fc4c18168eb61 (diff) |
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
Diffstat (limited to 'share/www/script/test/security_validation.js')
-rw-r--r-- | share/www/script/test/security_validation.js | 6 |
1 files changed, 3 insertions, 3 deletions
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", |