summaryrefslogtreecommitdiff
path: root/qpid/java
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/java')
-rw-r--r--qpid/java/systests/src/main/java/org/apache/qpid/server/failover/FailoverMethodTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/qpid/java/systests/src/main/java/org/apache/qpid/server/failover/FailoverMethodTest.java b/qpid/java/systests/src/main/java/org/apache/qpid/server/failover/FailoverMethodTest.java
index cca4c47e6a..cb9ba44e27 100644
--- a/qpid/java/systests/src/main/java/org/apache/qpid/server/failover/FailoverMethodTest.java
+++ b/qpid/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)
{