couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject svn commit: r1129216 - /couchdb/branches/1.0.x/share/www/script/test/replication.js
Date Mon, 30 May 2011 15:21:12 GMT
Author: rnewson
Date: Mon May 30 15:21:12 2011
New Revision: 1129216

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

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

Modified: couchdb/branches/1.0.x/share/www/script/test/replication.js
URL: http://svn.apache.org/viewvc/couchdb/branches/1.0.x/share/www/script/test/replication.js?rev=1129216&r1=1129215&r2=1129216&view=diff
==============================================================================
--- couchdb/branches/1.0.x/share/www/script/test/replication.js (original)
+++ couchdb/branches/1.0.x/share/www/script/test/replication.js Mon May 30 15:21:12 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