diff options
| author | Martin Ritchie <ritchiem@apache.org> | 2009-04-03 13:25:02 +0000 |
|---|---|---|
| committer | Martin Ritchie <ritchiem@apache.org> | 2009-04-03 13:25:02 +0000 |
| commit | 7c604ebe2d81a733df8a25a7c2b330e1556d3013 (patch) | |
| tree | dde701b07cff087131da8fa1203ae56fabc91363 /java | |
| parent | 3a7d734feead4608d62df7744a4eef9f438772b5 (diff) | |
| download | qpid-python-7c604ebe2d81a733df8a25a7c2b330e1556d3013.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/qpid@761668 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
| -rw-r--r-- | java/systests/src/main/java/org/apache/qpid/server/failover/FailoverMethodTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
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) { |
