couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject svn commit: r1129108 - /couchdb/branches/1.1.x/share/www/script/test/replication.js
Date Mon, 30 May 2011 10:12:23 GMT
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");



Mime
View raw message