summaryrefslogtreecommitdiff
path: root/share/www/script/test/bulk_docs.js
diff options
context:
space:
mode:
Diffstat (limited to 'share/www/script/test/bulk_docs.js')
-rw-r--r--share/www/script/test/bulk_docs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/www/script/test/bulk_docs.js b/share/www/script/test/bulk_docs.js
index 88a4313e..972accf3 100644
--- a/share/www/script/test/bulk_docs.js
+++ b/share/www/script/test/bulk_docs.js
@@ -96,5 +96,5 @@ couchTests.bulk_docs = function(debug) {
update = {"_id": newdoc._id, "_rev": newdoc._rev, "body": "blam"};
torem = {"_id": newdoc._id, "_rev": newdoc._rev, "_deleted": true};
results = db.bulkSave([update, torem]);
- T(results[1].error == "conflict");
+ T(results[0].error == "conflict" || results[1].error == "conflict");
};