From 79f3866adc9289e66b6092e4bdda3198369e09e4 Mon Sep 17 00:00:00 2001 From: Robert Newson Date: Mon, 30 May 2011 10:12:23 +0000 Subject: 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 --- share/www/script/test/replication.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'share/www/script/test/replication.js') 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"); -- cgit v1.2.3