diff options
Diffstat (limited to 'share/www/script/test/update_documents.js')
-rw-r--r-- | share/www/script/test/update_documents.js | 8 |
1 files changed, 4 insertions, 4 deletions
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); |