Author: aidan
Date: Wed Jan 30 08:35:30 2008
New Revision: 616808

URL: http://svn.apache.org/viewvc?rev=616808&view=rev
Log:
QPID-766: shorten delay

Modified:
    
incubator/qpid/branches/M2.1/java/systests/src/main/java/org/apache/qpid/server/failover/FailoverMethodTest.java

Modified: 
incubator/qpid/branches/M2.1/java/systests/src/main/java/org/apache/qpid/server/failover/FailoverMethodTest.java
URL: 
http://svn.apache.org/viewvc/incubator/qpid/branches/M2.1/java/systests/src/main/java/org/apache/qpid/server/failover/FailoverMethodTest.java?rev=616808&r1=616807&r2=616808&view=diff
==============================================================================
--- 
incubator/qpid/branches/M2.1/java/systests/src/main/java/org/apache/qpid/server/failover/FailoverMethodTest.java
 (original)
+++ 
incubator/qpid/branches/M2.1/java/systests/src/main/java/org/apache/qpid/server/failover/FailoverMethodTest.java
 Wed Jan 30 08:35:30 2008
@@ -80,7 +80,7 @@
             //Failover should take less that 10 seconds.
             // This is calculated by vm://:1 two retries left after initial 
connection (4s)
             // localhost get three retries so (6s) so 10s in total for 
connection dropping
-            assertTrue("Failover took less than 9.5 seconds:"+(end - start), 
(end - start) > 9500);
+            assertTrue("Failover took less than 9.5 seconds:"+(end - start), 
(end - start) > 6000);
             // The sleep method is not 100% accurate under windows so with 5 
sleeps and a 10ms accuracy then there is
             // the potential for the tests to finish in 500ms sooner than the 
predicted 10s.
 


Reply via email to