You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2011/05/30 12:12:23 UTC

svn commit: r1129108 - /couchdb/branches/1.1.x/share/www/script/test/replication.js

Author: rnewson
Date: Mon May 30 10:12:23 2011
New Revision: 1129108

URL: http://svn.apache.org/viewvc?rev=1129108&view=rev
Log:
fix replication.js, continuous:true wasn't passed and so the wrong RepId was calculated.

Modified:
    couchdb/branches/1.1.x/share/www/script/test/replication.js

Modified: couchdb/branches/1.1.x/share/www/script/test/replication.js
URL: http://svn.apache.org/viewvc/couchdb/branches/1.1.x/share/www/script/test/replication.js?rev=1129108&r1=1129107&r2=1129108&view=diff
==============================================================================
--- couchdb/branches/1.1.x/share/www/script/test/replication.js (original)
+++ couchdb/branches/1.1.x/share/www/script/test/replication.js Mon May 30 10:12:23 2011
@@ -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");