summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorRobert Newson <rnewson@apache.org>2011-05-30 10:12:23 +0000
committerRobert Newson <rnewson@apache.org>2011-05-30 10:12:23 +0000
commit79f3866adc9289e66b6092e4bdda3198369e09e4 (patch)
tree953fab74c6571ee22e3c01ea7865f9a571e52476 /share
parent4c737d9d01005f29619c2186991cc82b2d31c947 (diff)
fix replication.js, continuous:true wasn't passed and so the wrong RepId was calculated.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1129108 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share')
-rw-r--r--share/www/script/test/replication.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/www/script/test/replication.js b/share/www/script/test/replication.js
index 5e85847e..25746625 100644
--- a/share/www/script/test/replication.js
+++ b/share/www/script/test/replication.js
@@ -324,14 +324,14 @@ couchTests.replication = function(debug) {
T(continuousResult._local_id);
var cancelResult = CouchDB.replicate(dbA.name, "test_suite_db_b", {
- body: {"cancel": true}
+ body: {"continuous":true, "cancel": true}
});
T(cancelResult.ok);
T(continuousResult._local_id == cancelResult._local_id);
try {
var cancelResult2 = CouchDB.replicate(dbA.name, "test_suite_db_b", {
- body: {"cancel": true}
+ body: {"continuous":true, "cancel": true}
});
} catch (e) {
T(e.error == "not_found");