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 82BFF1D87 for ; Wed, 20 Apr 2011 12:16:29 +0000 (UTC) Received: (qmail 40614 invoked by uid 500); 20 Apr 2011 12:16:29 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 40578 invoked by uid 500); 20 Apr 2011 12:16:29 -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 40571 invoked by uid 99); 20 Apr 2011 12:16:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Apr 2011 12:16:29 +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; Wed, 20 Apr 2011 12:16:27 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 231D42388994; Wed, 20 Apr 2011 12:16:06 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1095387 - /couchdb/branches/1.1.x/share/www/script/test/replicator_db.js Date: Wed, 20 Apr 2011 12:16:06 -0000 To: commits@couchdb.apache.org From: fdmanana@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110420121606.231D42388994@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: fdmanana Date: Wed Apr 20 12:16:05 2011 New Revision: 1095387 URL: http://svn.apache.org/viewvc?rev=1095387&view=rev Log: Merged revision 1095386 from trunk Avoid replicator_db.js test failures due to timing issues These happen sometimes on slower machines. Modified: couchdb/branches/1.1.x/share/www/script/test/replicator_db.js Modified: couchdb/branches/1.1.x/share/www/script/test/replicator_db.js URL: http://svn.apache.org/viewvc/couchdb/branches/1.1.x/share/www/script/test/replicator_db.js?rev=1095387&r1=1095386&r2=1095387&view=diff ============================================================================== --- couchdb/branches/1.1.x/share/www/script/test/replicator_db.js (original) +++ couchdb/branches/1.1.x/share/www/script/test/replicator_db.js Wed Apr 20 12:16:05 2011 @@ -801,7 +801,8 @@ couchTests.replicator_db = function(debu TEquals(true, dbA.save(new_doc).ok); TEquals(true, dbB.save(new_doc).ok); - wait(1000); + waitForSeq(dbA, dbA_copy); + waitForSeq(dbB, dbB_copy); TEquals(true, repDb2.save(repDoc3).ok); waitForSeq(dbC, dbC_copy);