summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Ritchie <ritchiem@apache.org>2009-04-03 13:25:02 +0000
committerMartin Ritchie <ritchiem@apache.org>2009-04-03 13:25:02 +0000
commit0184a5dc1f11ddb6a4a5786e0708f8ebbda00007 (patch)
tree43d47949bcdfa94dd78b6354adea032042fd1d3e
parent10f30b4eb8295849a872edfbc8514b42369e4c27 (diff)
downloadqpid-python-0184a5dc1f11ddb6a4a5786e0708f8ebbda00007.tar.gz
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@761668 13f79535-47bb-0310-9956-ffa450edef68
-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)
{