qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ritch...@apache.org
Subject svn commit: r761668 - /qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/server/failover/FailoverMethodTest.java
Date Fri, 03 Apr 2009 13:25:02 GMT
Author: ritchiem
Date: Fri Apr  3 13:25:02 2009
New Revision: 761668

URL: http://svn.apache.org/viewvc?rev=761668&view=rev
Log:
QPID-1778 : Increased delay as tcp testing takes longer than inVm. Now checks failover doesn't
occur and we know about it in less time than the connectiondelay which would be waited for
if we attempted failover.

Modified:
    qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/server/failover/FailoverMethodTest.java

Modified: qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/server/failover/FailoverMethodTest.java
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/server/failover/FailoverMethodTest.java?rev=761668&r1=761667&r2=761668&view=diff
==============================================================================
--- qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/server/failover/FailoverMethodTest.java
(original)
+++ qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/server/failover/FailoverMethodTest.java
Fri Apr  3 13:25:02 2009
@@ -215,7 +215,8 @@
             duration = (end - start);
 
             // Notification of the connection failure should be very quick as we are denying
the ability to failover.
-            assertTrue("Notification of the connection failure took was : 100 >:(" + duration
+ ")", duration < 100);
+            // It may not be as quick for Java profile tests so lets just make sure it is
less than the connectiondelay
+            assertTrue("Notification of the connection failure took was : 100 >:(" + duration
+ ")", duration < 500);
         }
         catch (AMQException e)
         {



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message