Return-Path: X-Original-To: apmail-couchdb-commits-archive@www.apache.org Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6BFD966E2 for ; Mon, 30 May 2011 10:12:46 +0000 (UTC) Received: (qmail 12203 invoked by uid 500); 30 May 2011 10:12:46 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 12169 invoked by uid 500); 30 May 2011 10:12:46 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 12162 invoked by uid 99); 30 May 2011 10:12:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 May 2011 10:12:46 +0000 X-ASF-Spam-Status: No, hits=-1996.4 required=5.0 tests=ALL_TRUSTED,FS_REPLICA X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 May 2011 10:12:44 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 624262388993; Mon, 30 May 2011 10:12:23 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1129108 - /couchdb/branches/1.1.x/share/www/script/test/replication.js Date: Mon, 30 May 2011 10:12:23 -0000 To: commits@couchdb.apache.org From: rnewson@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110530101223.624262388993@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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");