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/view_offsets.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/view_offsets.js')
-rw-r--r-- | share/www/script/test/view_offsets.js | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |