summaryrefslogtreecommitdiff
path: root/share/www/script/test
diff options
context:
space:
mode:
Diffstat (limited to 'share/www/script/test')
-rw-r--r--share/www/script/test/all_docs.js2
-rw-r--r--share/www/script/test/attachment_names.js2
-rw-r--r--share/www/script/test/attachment_views.js2
-rw-r--r--share/www/script/test/attachments.js2
-rw-r--r--share/www/script/test/basics.js2
-rw-r--r--share/www/script/test/batch_save.js2
-rw-r--r--share/www/script/test/bulk_docs.js2
-rw-r--r--share/www/script/test/changes.js2
-rw-r--r--share/www/script/test/compact.js2
-rw-r--r--share/www/script/test/config.js2
-rw-r--r--share/www/script/test/conflicts.js2
-rw-r--r--share/www/script/test/content_negotiation.js2
-rw-r--r--share/www/script/test/cookie_auth.js4
-rw-r--r--share/www/script/test/copy_doc.js2
-rw-r--r--share/www/script/test/delayed_commits.js2
-rw-r--r--share/www/script/test/design_docs.js2
-rw-r--r--share/www/script/test/design_options.js2
-rw-r--r--share/www/script/test/erlang_views.js2
-rw-r--r--share/www/script/test/etags_head.js2
-rw-r--r--share/www/script/test/etags_views.js2
-rw-r--r--share/www/script/test/form_submit.js2
-rw-r--r--share/www/script/test/invalid_docids.js2
-rw-r--r--share/www/script/test/jsonp.js2
-rw-r--r--share/www/script/test/large_docs.js2
-rw-r--r--share/www/script/test/list_views.js2
-rw-r--r--share/www/script/test/lots_of_docs.js2
-rw-r--r--share/www/script/test/multiple_rows.js2
-rw-r--r--share/www/script/test/oauth.js8
-rw-r--r--share/www/script/test/purge.js2
-rw-r--r--share/www/script/test/recreate_doc.js2
-rw-r--r--share/www/script/test/reduce.js2
-rw-r--r--share/www/script/test/reduce_builtin.js2
-rw-r--r--share/www/script/test/reduce_false.js2
-rw-r--r--share/www/script/test/replication.js4
-rw-r--r--share/www/script/test/rev_stemming.js4
-rw-r--r--share/www/script/test/security_validation.js6
-rw-r--r--share/www/script/test/show_documents.js2
-rw-r--r--share/www/script/test/stats.js40
-rw-r--r--share/www/script/test/update_documents.js8
-rw-r--r--share/www/script/test/utf8.js2
-rw-r--r--share/www/script/test/uuids.js2
-rw-r--r--share/www/script/test/view_collation.js2
-rw-r--r--share/www/script/test/view_conflicts.js4
-rw-r--r--share/www/script/test/view_errors.js2
-rw-r--r--share/www/script/test/view_include_docs.js2
-rw-r--r--share/www/script/test/view_multi_key_all_docs.js2
-rw-r--r--share/www/script/test/view_multi_key_design.js2
-rw-r--r--share/www/script/test/view_multi_key_temp.js2
-rw-r--r--share/www/script/test/view_offsets.js4
-rw-r--r--share/www/script/test/view_pagination.js2
-rw-r--r--share/www/script/test/view_sandboxing.js2
-rw-r--r--share/www/script/test/view_xml.js2
52 files changed, 84 insertions, 84 deletions
diff --git a/share/www/script/test/all_docs.js b/share/www/script/test/all_docs.js
index acac6a04..c695e24c 100644
--- a/share/www/script/test/all_docs.js
+++ b/share/www/script/test/all_docs.js
@@ -11,7 +11,7 @@
// the License.
couchTests.all_docs = function(debug) {
- 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;
diff --git a/share/www/script/test/attachment_names.js b/share/www/script/test/attachment_names.js
index 44c57ed9..d90c24c4 100644
--- a/share/www/script/test/attachment_names.js
+++ b/share/www/script/test/attachment_names.js
@@ -11,7 +11,7 @@
// the License.
couchTests.attachment_names = function(debug) {
- 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;
diff --git a/share/www/script/test/attachment_views.js b/share/www/script/test/attachment_views.js
index 61abc92f..fd30dcfc 100644
--- a/share/www/script/test/attachment_views.js
+++ b/share/www/script/test/attachment_views.js
@@ -12,7 +12,7 @@
couchTests.attachment_views= function(debug) {
- 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;
diff --git a/share/www/script/test/attachments.js b/share/www/script/test/attachments.js
index 4b6fa58e..f279c31e 100644
--- a/share/www/script/test/attachments.js
+++ b/share/www/script/test/attachments.js
@@ -11,7 +11,7 @@
// the License.
couchTests.attachments= function(debug) {
- 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;
diff --git a/share/www/script/test/basics.js b/share/www/script/test/basics.js
index 34d0f38e..a261b5ae 100644
--- a/share/www/script/test/basics.js
+++ b/share/www/script/test/basics.js
@@ -15,7 +15,7 @@ couchTests.basics = function(debug) {
var result = JSON.parse(CouchDB.request("GET", "/").responseText);
T(result.couchdb == "Welcome");
- var db = new CouchDB("test_suite_db");
+ var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
db.deleteDb();
// bug COUCHDB-100: DELETE on non-existent DB returns 500 instead of 404
diff --git a/share/www/script/test/batch_save.js b/share/www/script/test/batch_save.js
index 6c63d78f..18994e3a 100644
--- a/share/www/script/test/batch_save.js
+++ b/share/www/script/test/batch_save.js
@@ -11,7 +11,7 @@
// the License.
couchTests.batch_save = function(debug) {
- 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;
diff --git a/share/www/script/test/bulk_docs.js b/share/www/script/test/bulk_docs.js
index 972accf3..346aea83 100644
--- a/share/www/script/test/bulk_docs.js
+++ b/share/www/script/test/bulk_docs.js
@@ -11,7 +11,7 @@
// the License.
couchTests.bulk_docs = function(debug) {
- 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;
diff --git a/share/www/script/test/changes.js b/share/www/script/test/changes.js
index 393ff034..edf3ed18 100644
--- a/share/www/script/test/changes.js
+++ b/share/www/script/test/changes.js
@@ -17,7 +17,7 @@ function jsonp(obj) {
}
couchTests.changes = function(debug) {
- 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;
diff --git a/share/www/script/test/compact.js b/share/www/script/test/compact.js
index 60745e2c..f63bfc57 100644
--- a/share/www/script/test/compact.js
+++ b/share/www/script/test/compact.js
@@ -11,7 +11,7 @@
// the License.
couchTests.compact = function(debug) {
- 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;
diff --git a/share/www/script/test/config.js b/share/www/script/test/config.js
index ee3a3ebf..ef74934b 100644
--- a/share/www/script/test/config.js
+++ b/share/www/script/test/config.js
@@ -11,7 +11,7 @@
// the License.
couchTests.config = function(debug) {
- 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;
diff --git a/share/www/script/test/conflicts.js b/share/www/script/test/conflicts.js
index 517918f5..fa8162ab 100644
--- a/share/www/script/test/conflicts.js
+++ b/share/www/script/test/conflicts.js
@@ -12,7 +12,7 @@
// Do some edit conflict detection tests
couchTests.conflicts = function(debug) {
- 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;
diff --git a/share/www/script/test/content_negotiation.js b/share/www/script/test/content_negotiation.js
index 0f324ef4..70a2248e 100644
--- a/share/www/script/test/content_negotiation.js
+++ b/share/www/script/test/content_negotiation.js
@@ -11,7 +11,7 @@
// the License.
couchTests.content_negotiation = function(debug) {
- 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;
diff --git a/share/www/script/test/cookie_auth.js b/share/www/script/test/cookie_auth.js
index 63ab21b9..b1ef6880 100644
--- a/share/www/script/test/cookie_auth.js
+++ b/share/www/script/test/cookie_auth.js
@@ -13,7 +13,7 @@
couchTests.cookie_auth = function(debug) {
// This tests cookie-based authentication.
- 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;
@@ -30,7 +30,7 @@ couchTests.cookie_auth = function(debug) {
var testFun = function () {
try {
// try using an invalid cookie
- var usersDb = new CouchDB("test_suite_users");
+ var usersDb = new CouchDB("test_suite_users", {"X-Couch-Full-Commit":"false"});
usersDb.deleteDb();
usersDb.createDb();
diff --git a/share/www/script/test/copy_doc.js b/share/www/script/test/copy_doc.js
index 2913140f..a6de1892 100644
--- a/share/www/script/test/copy_doc.js
+++ b/share/www/script/test/copy_doc.js
@@ -11,7 +11,7 @@
// the License.
couchTests.copy_doc = function(debug) {
- 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;
diff --git a/share/www/script/test/delayed_commits.js b/share/www/script/test/delayed_commits.js
index 80d345b1..d0c87182 100644
--- a/share/www/script/test/delayed_commits.js
+++ b/share/www/script/test/delayed_commits.js
@@ -11,7 +11,7 @@
// the License.
couchTests.delayed_commits = function(debug) {
- 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;
diff --git a/share/www/script/test/design_docs.js b/share/www/script/test/design_docs.js
index 1b3f45b1..25c36424 100644
--- a/share/www/script/test/design_docs.js
+++ b/share/www/script/test/design_docs.js
@@ -11,7 +11,7 @@
// the License.
couchTests.design_docs = function(debug) {
- 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;
diff --git a/share/www/script/test/design_options.js b/share/www/script/test/design_options.js
index ed393040..05764e24 100644
--- a/share/www/script/test/design_options.js
+++ b/share/www/script/test/design_options.js
@@ -11,7 +11,7 @@
// the License.
couchTests.design_options = function(debug) {
- 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;
diff --git a/share/www/script/test/erlang_views.js b/share/www/script/test/erlang_views.js
index 6a378690..24f6cd1a 100644
--- a/share/www/script/test/erlang_views.js
+++ b/share/www/script/test/erlang_views.js
@@ -11,7 +11,7 @@
// the License.
couchTests.erlang_views = function(debug) {
- 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;
diff --git a/share/www/script/test/etags_head.js b/share/www/script/test/etags_head.js
index b89513cc..63e29994 100644
--- a/share/www/script/test/etags_head.js
+++ b/share/www/script/test/etags_head.js
@@ -11,7 +11,7 @@
// the License.
couchTests.etags_head = function(debug) {
- 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;
diff --git a/share/www/script/test/etags_views.js b/share/www/script/test/etags_views.js
index a33317d9..c52be232 100644
--- a/share/www/script/test/etags_views.js
+++ b/share/www/script/test/etags_views.js
@@ -11,7 +11,7 @@
// the License.
couchTests.etags_views = function(debug) {
- 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;
diff --git a/share/www/script/test/form_submit.js b/share/www/script/test/form_submit.js
index f249986f..3fed9d75 100644
--- a/share/www/script/test/form_submit.js
+++ b/share/www/script/test/form_submit.js
@@ -12,7 +12,7 @@
// Do some basic tests.
couchTests.form_upload = function(debug) {
- var db = new CouchDB("test_suite_db");
+ var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
db.deleteDb();
db.createDb();
diff --git a/share/www/script/test/invalid_docids.js b/share/www/script/test/invalid_docids.js
index 86c3fd38..d0195b02 100644
--- a/share/www/script/test/invalid_docids.js
+++ b/share/www/script/test/invalid_docids.js
@@ -11,7 +11,7 @@
// the License.
couchTests.invalid_docids = function(debug) {
- 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;
diff --git a/share/www/script/test/jsonp.js b/share/www/script/test/jsonp.js
index 0da493d6..dfd6a0df 100644
--- a/share/www/script/test/jsonp.js
+++ b/share/www/script/test/jsonp.js
@@ -28,7 +28,7 @@ function jsonp_chunk(doc) {
// Do some jsonp tests.
couchTests.jsonp = function(debug) {
- 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;
diff --git a/share/www/script/test/large_docs.js b/share/www/script/test/large_docs.js
index d37ce738..b84648b7 100644
--- a/share/www/script/test/large_docs.js
+++ b/share/www/script/test/large_docs.js
@@ -11,7 +11,7 @@
// the License.
couchTests.large_docs = function(debug) {
- 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;
diff --git a/share/www/script/test/list_views.js b/share/www/script/test/list_views.js
index 5871e10e..408e40f9 100644
--- a/share/www/script/test/list_views.js
+++ b/share/www/script/test/list_views.js
@@ -11,7 +11,7 @@
// the License.
couchTests.list_views = function(debug) {
- 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;
diff --git a/share/www/script/test/lots_of_docs.js b/share/www/script/test/lots_of_docs.js
index 97ed56ac..2fe702b1 100644
--- a/share/www/script/test/lots_of_docs.js
+++ b/share/www/script/test/lots_of_docs.js
@@ -12,7 +12,7 @@
// test saving a semi-large quanitity of documents and do some view queries.
couchTests.lots_of_docs = function(debug) {
- 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;
diff --git a/share/www/script/test/multiple_rows.js b/share/www/script/test/multiple_rows.js
index ce2d9c51..4f6fcd3b 100644
--- a/share/www/script/test/multiple_rows.js
+++ b/share/www/script/test/multiple_rows.js
@@ -11,7 +11,7 @@
// the License.
couchTests.multiple_rows = function(debug) {
- 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;
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();
diff --git a/share/www/script/test/purge.js b/share/www/script/test/purge.js
index 2cc8b208..ca68b363 100644
--- a/share/www/script/test/purge.js
+++ b/share/www/script/test/purge.js
@@ -11,7 +11,7 @@
// the License.
couchTests.purge = function(debug) {
- 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;
diff --git a/share/www/script/test/recreate_doc.js b/share/www/script/test/recreate_doc.js
index 75e34618..3786aba2 100644
--- a/share/www/script/test/recreate_doc.js
+++ b/share/www/script/test/recreate_doc.js
@@ -11,7 +11,7 @@
// the License.
couchTests.recreate_doc = function(debug) {
- 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;
diff --git a/share/www/script/test/reduce.js b/share/www/script/test/reduce.js
index 03c86aed..9c80fa7f 100644
--- a/share/www/script/test/reduce.js
+++ b/share/www/script/test/reduce.js
@@ -11,7 +11,7 @@
// the License.
couchTests.reduce = function(debug) {
- 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;
diff --git a/share/www/script/test/reduce_builtin.js b/share/www/script/test/reduce_builtin.js
index ca84fc29..7938a0cf 100644
--- a/share/www/script/test/reduce_builtin.js
+++ b/share/www/script/test/reduce_builtin.js
@@ -11,7 +11,7 @@
// the License.
couchTests.reduce_builtin = function(debug) {
- 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;
diff --git a/share/www/script/test/reduce_false.js b/share/www/script/test/reduce_false.js
index 3014cc03..29890ce4 100644
--- a/share/www/script/test/reduce_false.js
+++ b/share/www/script/test/reduce_false.js
@@ -11,7 +11,7 @@
// the License.
couchTests.reduce_false = function(debug) {
- 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;
diff --git a/share/www/script/test/replication.js b/share/www/script/test/replication.js
index b1a8792f..10b3ce73 100644
--- a/share/www/script/test/replication.js
+++ b/share/www/script/test/replication.js
@@ -23,8 +23,8 @@ couchTests.replication = function(debug) {
{source:"http://" + host + "/test_suite_db_a",
target:"http://" + host + "/test_suite_db_b"}
]
- 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"});
var numDocs = 10;
var xhr;
for (var testPair = 0; testPair < dbPairs.length; testPair++) {
diff --git a/share/www/script/test/rev_stemming.js b/share/www/script/test/rev_stemming.js
index 5fae9c4b..03d91c2a 100644
--- a/share/www/script/test/rev_stemming.js
+++ b/share/www/script/test/rev_stemming.js
@@ -11,10 +11,10 @@
// the License.
couchTests.rev_stemming = function(debug) {
- var db = new CouchDB("test_suite_db_a");
+ var db = new CouchDB("test_suite_db_a", {"X-Couch-Full-Commit":"false"});
db.deleteDb();
db.createDb();
- var dbB = new CouchDB("test_suite_db_b");
+ var dbB = new CouchDB("test_suite_db_b", {"X-Couch-Full-Commit":"false"});
dbB.deleteDb();
dbB.createDb();
if (debug) debugger;
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",
diff --git a/share/www/script/test/show_documents.js b/share/www/script/test/show_documents.js
index 59bcd6d3..d0a2325a 100644
--- a/share/www/script/test/show_documents.js
+++ b/share/www/script/test/show_documents.js
@@ -11,7 +11,7 @@
// the License.
couchTests.show_documents = function(debug) {
- 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;
diff --git a/share/www/script/test/stats.js b/share/www/script/test/stats.js
index 96fa0933..83878400 100644
--- a/share/www/script/test/stats.js
+++ b/share/www/script/test/stats.js
@@ -15,7 +15,7 @@ couchTests.stats = function(debug) {
var open_databases_tests = {
'should increment the number of open databases when creating a db': function(name) {
- var db = new CouchDB("test_suite_db");
+ var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
db.deleteDb();
var open_databases = requestStatsTest("couchdb", "open_databases").current;
db.createDb();
@@ -24,7 +24,7 @@ couchTests.stats = function(debug) {
TEquals(open_databases + 1, new_open_databases, name);
},
'should increment the number of open databases when opening a db': function(name) {
- var db = new CouchDB("test_suite_db");
+ var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
db.deleteDb();
db.createDb();
@@ -38,7 +38,7 @@ couchTests.stats = function(debug) {
TEquals(open_databases + 1, new_open_databases, name);
},
'should decrement the number of open databases when deleting': function(name) {
- var db = new CouchDB("test_suite_db");
+ var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
db.deleteDb();
db.createDb();
var open_databases = requestStatsTest("couchdb", "open_databases").current;
@@ -91,7 +91,7 @@ couchTests.stats = function(debug) {
var database_read_count_tests = {
'should increase database reads counter when a document is read': function(name) {
- var db = new CouchDB("test_suite_db");
+ var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
db.deleteDb();
db.createDb();
db.save({"_id":"test"});
@@ -103,7 +103,7 @@ couchTests.stats = function(debug) {
TEquals(reads + 1 , new_reads, name);
},
'should not increase database read counter when a non-document is read': function(name) {
- var db = new CouchDB("test_suite_db");
+ var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
db.deleteDb();
db.createDb();
db.save({"_id":"test"});
@@ -115,7 +115,7 @@ couchTests.stats = function(debug) {
TEquals(reads, new_reads, name);
},
'should increase database read counter when a document\'s revisions are read': function(name) {
- var db = new CouchDB("test_suite_db");
+ var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
db.deleteDb();
db.createDb();
db.save({"_id":"test"});
@@ -130,7 +130,7 @@ couchTests.stats = function(debug) {
var view_read_count_tests = {
'should increase the permanent view read counter': function(name) {
- var db = new CouchDB("test_suite_db");
+ var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
db.deleteDb();
db.createDb();
@@ -141,7 +141,7 @@ couchTests.stats = function(debug) {
TEquals(reads + 1 , new_reads, name);
},
'should not increase the permanent view read counter when a document is read': function(name) {
- var db = new CouchDB("test_suite_db");
+ var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
db.deleteDb();
db.createDb();
db.save({"_id":"test"});
@@ -153,7 +153,7 @@ couchTests.stats = function(debug) {
TEquals(reads, new_reads, name);
},
'should not increase the permanent view read counter when a temporary view is read': function(name) {
- var db = new CouchDB("test_suite_db");
+ var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
db.deleteDb();
db.createDb();
@@ -164,7 +164,7 @@ couchTests.stats = function(debug) {
TEquals(reads, new_reads, name);
},
'should increase the temporary view read counter': function(name) {
- var db = new CouchDB("test_suite_db");
+ var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
db.deleteDb();
db.createDb();
@@ -175,7 +175,7 @@ couchTests.stats = function(debug) {
TEquals(reads + 1, new_reads, name);
},
'should increase the temporary view read counter when querying a permanent view': function(name) {
- var db = new CouchDB("test_suite_db");
+ var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
db.deleteDb();
db.createDb();
@@ -212,7 +212,7 @@ couchTests.stats = function(debug) {
var document_write_count_tests = {
'should increment database changes counter for document creates': function(name) {
- var db = new CouchDB("test_suite_db");
+ var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
db.deleteDb();
db.createDb();
@@ -223,7 +223,7 @@ couchTests.stats = function(debug) {
TEquals(creates + 1, new_creates, name);
},
'should increment database changes counter for document updates': function(name) {
- var db = new CouchDB("test_suite_db");
+ var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
db.deleteDb();
db.createDb();
@@ -237,7 +237,7 @@ couchTests.stats = function(debug) {
TEquals(updates + 1, new_updates, name);
},
'should increment database changes counter for document deletes': function(name) {
- var db = new CouchDB("test_suite_db");
+ var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
db.deleteDb();
db.createDb();
@@ -251,7 +251,7 @@ couchTests.stats = function(debug) {
TEquals(deletes + 1, new_deletes, name);
},
'should increment database changes counter for document copies': function(name) {
- var db = new CouchDB("test_suite_db");
+ var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
db.deleteDb();
db.createDb();
@@ -267,7 +267,7 @@ couchTests.stats = function(debug) {
TEquals(copies + 1, new_copies, name);
},
'should increase the bulk doc counter': function(name) {
- var db = new CouchDB("test_suite_db");
+ var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
db.deleteDb();
db.createDb();
@@ -281,7 +281,7 @@ couchTests.stats = function(debug) {
TEquals(bulks + 1, new_bulks, name);
},
'should increment database changes counter for document creates using POST': function(name) {
- var db = new CouchDB("test_suite_db");
+ var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
db.deleteDb();
db.createDb();
@@ -292,7 +292,7 @@ couchTests.stats = function(debug) {
TEquals(creates + 1, new_creates, name);
},
'should increment database changes counter when adding attachment': function(name) {
- var db = new CouchDB("test_suite_db");
+ var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
db.deleteDb();
db.createDb();
@@ -305,7 +305,7 @@ couchTests.stats = function(debug) {
TEquals(creates + 1, new_creates, name);
},
'should increment database changes counter when adding attachment to existing doc': function(name) {
- var db = new CouchDB("test_suite_db");
+ var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"false"});
db.deleteDb();
db.createDb();
@@ -324,7 +324,7 @@ couchTests.stats = function(debug) {
};
var response_codes_tests = {
'should increment the response code counter': function(name) {
- var db = new CouchDB("nonexistant_db");
+ var db = new CouchDB("nonexistant_db", {"X-Couch-Full-Commit":"false"});
db.deleteDb();
var not_founds = requestStatsTest("httpd_status_codes", "404").current;
diff --git a/share/www/script/test/update_documents.js b/share/www/script/test/update_documents.js
index 92e9ae91..35788561 100644
--- a/share/www/script/test/update_documents.js
+++ b/share/www/script/test/update_documents.js
@@ -12,7 +12,7 @@
couchTests.update_documents = function(debug) {
- 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;
@@ -114,7 +114,7 @@ couchTests.update_documents = function(debug) {
// bump counter
xhr = CouchDB.request("PUT", "/test_suite_db/_design/update/_update/bump-counter/"+docid, {
- headers : {"X-Couch-Full-Commit":"true"}
+ headers : {"X-Couch-Full-Commit":"false"}
});
T(xhr.status == 201);
T(xhr.responseText == "<h1>bumped it!</h1>");
@@ -123,7 +123,7 @@ couchTests.update_documents = function(debug) {
// _update honors full commit if you need it to
xhr = CouchDB.request("PUT", "/test_suite_db/_design/update/_update/bump-counter/"+docid, {
- headers : {"X-Couch-Full-Commit":"true"}
+ headers : {"X-Couch-Full-Commit":"false"}
});
doc = db.open(docid);
@@ -131,7 +131,7 @@ couchTests.update_documents = function(debug) {
// parse xml
xhr = CouchDB.request("PUT", "/test_suite_db/_design/update/_update/xml/"+docid, {
- headers : {"X-Couch-Full-Commit":"true"},
+ headers : {"X-Couch-Full-Commit":"false"},
"body" : '<xml><foo>bar</foo></xml>'
});
T(xhr.status == 201);
diff --git a/share/www/script/test/utf8.js b/share/www/script/test/utf8.js
index f1148789..b77845d3 100644
--- a/share/www/script/test/utf8.js
+++ b/share/www/script/test/utf8.js
@@ -11,7 +11,7 @@
// the License.
couchTests.utf8 = function(debug) {
- 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;
diff --git a/share/www/script/test/uuids.js b/share/www/script/test/uuids.js
index 845e7513..3b7533be 100644
--- a/share/www/script/test/uuids.js
+++ b/share/www/script/test/uuids.js
@@ -23,7 +23,7 @@ couchTests.uuids = function(debug) {
T(currentTime - dateHeader < 3000);
};
- 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;
diff --git a/share/www/script/test/view_collation.js b/share/www/script/test/view_collation.js
index 6d1488e6..9bf06f9b 100644
--- a/share/www/script/test/view_collation.js
+++ b/share/www/script/test/view_collation.js
@@ -11,7 +11,7 @@
// the License.
couchTests.view_collation = function(debug) {
- 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;
diff --git a/share/www/script/test/view_conflicts.js b/share/www/script/test/view_conflicts.js
index 0a3b8812..96f97d56 100644
--- a/share/www/script/test/view_conflicts.js
+++ b/share/www/script/test/view_conflicts.js
@@ -11,10 +11,10 @@
// the License.
couchTests.view_conflicts = function(debug) {
- var dbA = new CouchDB("test_suite_db_a");
+ var dbA = new CouchDB("test_suite_db_a", {"X-Couch-Full-Commit":"false"});
dbA.deleteDb();
dbA.createDb();
- var dbB = new CouchDB("test_suite_db_b");
+ var dbB = new CouchDB("test_suite_db_b", {"X-Couch-Full-Commit":"false"});
dbB.deleteDb();
dbB.createDb();
if (debug) debugger;
diff --git a/share/www/script/test/view_errors.js b/share/www/script/test/view_errors.js
index 2a472d6c..256e9569 100644
--- a/share/www/script/test/view_errors.js
+++ b/share/www/script/test/view_errors.js
@@ -11,7 +11,7 @@
// the License.
couchTests.view_errors = function(debug) {
- var db = new CouchDB("test_suite_db");
+ var db = new CouchDB("test_suite_db", {"X-Couch-Full-Commit":"true"});
db.deleteDb();
db.createDb();
if (debug) debugger;
diff --git a/share/www/script/test/view_include_docs.js b/share/www/script/test/view_include_docs.js
index 99f18e28..9405112d 100644
--- a/share/www/script/test/view_include_docs.js
+++ b/share/www/script/test/view_include_docs.js
@@ -11,7 +11,7 @@
// the License.
couchTests.view_include_docs = function(debug) {
- 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;
diff --git a/share/www/script/test/view_multi_key_all_docs.js b/share/www/script/test/view_multi_key_all_docs.js
index bad4a898..62e49665 100644
--- a/share/www/script/test/view_multi_key_all_docs.js
+++ b/share/www/script/test/view_multi_key_all_docs.js
@@ -11,7 +11,7 @@
// the License.
couchTests.view_multi_key_all_docs = function(debug) {
- 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;
diff --git a/share/www/script/test/view_multi_key_design.js b/share/www/script/test/view_multi_key_design.js
index e5235acf..5a2f645d 100644
--- a/share/www/script/test/view_multi_key_design.js
+++ b/share/www/script/test/view_multi_key_design.js
@@ -11,7 +11,7 @@
// the License.
couchTests.view_multi_key_design = function(debug) {
- 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;
diff --git a/share/www/script/test/view_multi_key_temp.js b/share/www/script/test/view_multi_key_temp.js
index 0d4a649e..55eefda5 100644
--- a/share/www/script/test/view_multi_key_temp.js
+++ b/share/www/script/test/view_multi_key_temp.js
@@ -11,7 +11,7 @@
// the License.
couchTests.view_multi_key_temp = function(debug) {
- 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;
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();
diff --git a/share/www/script/test/view_pagination.js b/share/www/script/test/view_pagination.js
index ba26b8a3..1af2df35 100644
--- a/share/www/script/test/view_pagination.js
+++ b/share/www/script/test/view_pagination.js
@@ -11,7 +11,7 @@
// the License.
couchTests.view_pagination = function(debug) {
- 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;
diff --git a/share/www/script/test/view_sandboxing.js b/share/www/script/test/view_sandboxing.js
index e8a3103e..9f893b28 100644
--- a/share/www/script/test/view_sandboxing.js
+++ b/share/www/script/test/view_sandboxing.js
@@ -11,7 +11,7 @@
// the License.
couchTests.view_sandboxing = function(debug) {
- 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;
diff --git a/share/www/script/test/view_xml.js b/share/www/script/test/view_xml.js
index 426de939..451fb6a8 100644
--- a/share/www/script/test/view_xml.js
+++ b/share/www/script/test/view_xml.js
@@ -11,7 +11,7 @@
// the License.
couchTests.view_xml = function(debug) {
- 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;