Author: ritchiem
Date: Fri Apr  3 13:26:53 2009
New Revision: 761669

URL: http://svn.apache.org/viewvc?rev=761669&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.
Merge of r761668 from trunk

Modified:
    
qpid/branches/0.5-release/qpid/java/systests/src/main/java/org/apache/qpid/server/failover/FailoverMethodTest.java

Modified: 
qpid/branches/0.5-release/qpid/java/systests/src/main/java/org/apache/qpid/server/failover/FailoverMethodTest.java
URL: 
http://svn.apache.org/viewvc/qpid/branches/0.5-release/qpid/java/systests/src/main/java/org/apache/qpid/server/failover/FailoverMethodTest.java?rev=761669&r1=761668&r2=761669&view=diff
==============================================================================
--- 
qpid/branches/0.5-release/qpid/java/systests/src/main/java/org/apache/qpid/server/failover/FailoverMethodTest.java
 (original)
+++ 
qpid/branches/0.5-release/qpid/java/systests/src/main/java/org/apache/qpid/server/failover/FailoverMethodTest.java
 Fri Apr  3 13:26:53 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:[email protected]

Reply via email to