summaryrefslogtreecommitdiff
path: root/qpid
diff options
context:
space:
mode:
authorMartin Ritchie <ritchiem@apache.org>2009-04-03 13:26:53 +0000
committerMartin Ritchie <ritchiem@apache.org>2009-04-03 13:26:53 +0000
commitf77069276e7c567aa92d6306c52b43c8d10e91ac (patch)
treee840d56e4fb0b940dd8e2c181dd9e3b4b641f055 /qpid
parente0cbc0e39cdbc2dd95f02e5dfd840ea27f2fad02 (diff)
downloadqpid-python-f77069276e7c567aa92d6306c52b43c8d10e91ac.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.
Merge of r761668 from trunk git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5-release@761669 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid')
-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)
{