From 7c604ebe2d81a733df8a25a7c2b330e1556d3013 Mon Sep 17 00:00:00 2001 From: Martin Ritchie Date: Fri, 3 Apr 2009 13:25:02 +0000 Subject: 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. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@761668 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/java/org/apache/qpid/server/failover/FailoverMethodTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'java') diff --git a/java/systests/src/main/java/org/apache/qpid/server/failover/FailoverMethodTest.java b/java/systests/src/main/java/org/apache/qpid/server/failover/FailoverMethodTest.java index cca4c47e6a..cb9ba44e27 100644 --- a/java/systests/src/main/java/org/apache/qpid/server/failover/FailoverMethodTest.java +++ b/java/systests/src/main/java/org/apache/qpid/server/failover/FailoverMethodTest.java @@ -215,7 +215,8 @@ public class FailoverMethodTest extends TestCase implements ExceptionListener 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) { -- cgit v1.2.1