Return-Path: Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: (qmail 54465 invoked from network); 9 Jul 2009 13:07:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Jul 2009 13:07:58 -0000 Received: (qmail 8125 invoked by uid 500); 9 Jul 2009 13:06:45 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 6955 invoked by uid 500); 9 Jul 2009 13:06:32 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 4142 invoked by uid 99); 9 Jul 2009 13:01:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jul 2009 13:01:05 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED 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; Thu, 09 Jul 2009 13:01:02 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 1C30D2388898; Thu, 9 Jul 2009 13:00:41 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r792538 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/failover/FailoverRandomTest.java Date: Thu, 09 Jul 2009 13:00:41 -0000 To: commits@activemq.apache.org From: gtully@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090709130041.1C30D2388898@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: gtully Date: Thu Jul 9 13:00:40 2009 New Revision: 792538 URL: http://svn.apache.org/viewvc?rev=792538&view=rev Log: give reconnect randomness some more time to kick in Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/failover/FailoverRandomTest.java Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/failover/FailoverRandomTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/failover/FailoverRandomTest.java?rev=792538&r1=792537&r2=792538&view=diff ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/failover/FailoverRandomTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/failover/FailoverRandomTest.java Thu Jul 9 13:00:40 2009 @@ -64,7 +64,7 @@ connection.close(); String brokerName2 = brokerName1; - int attempts = 5; + int attempts = 40; while (brokerName1.equals(brokerName2) && attempts-- > 0) { connection = (ActiveMQConnection) cf.createConnection(); connection.start();