summaryrefslogtreecommitdiff
path: root/share/www/script/test/oauth.js
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2009-08-16 17:32:34 +0000
committerJan Lehnardt <jan@apache.org>2009-08-16 17:32:34 +0000
commit8385f5dc3167578bd24806d21a5f0f1f6ec3250b (patch)
tree18d43a4f32f84ec9d1fb810a08cf377bf66401c2 /share/www/script/test/oauth.js
parentfa7efcbf4108c560f273fbd6f42fc4c18168eb61 (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/oauth.js')
-rw-r--r--share/www/script/test/oauth.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/share/www/script/test/oauth.js b/share/www/script/test/oauth.js
index fb4ab818..1456bb30 100644
--- a/share/www/script/test/oauth.js
+++ b/share/www/script/test/oauth.js
@@ -15,13 +15,13 @@ couchTests.oauth = function(debug) {
var authorization_url = "/_oauth/authorize";
- 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;
- var dbA = new CouchDB("test_suite_db_a");
- var dbB = new CouchDB("test_suite_db_b");
+ var dbA = new CouchDB("test_suite_db_a", {"X-Couch-Full-Commit":"false"});
+ var dbB = new CouchDB("test_suite_db_b", {"X-Couch-Full-Commit":"false"});
dbA.deleteDb();
dbA.createDb();
dbB.deleteDb();
@@ -79,7 +79,7 @@ couchTests.oauth = function(debug) {
// this function will be called on the modified server
var testFun = function () {
try {
- var usersDb = new CouchDB("test_suite_users");
+ var usersDb = new CouchDB("test_suite_users", {"X-Couch-Full-Commit":"false"});
usersDb.deleteDb();
usersDb.createDb();