summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorAidan Skinner <aidan@apache.org>2008-01-30 16:35:30 +0000
committerAidan Skinner <aidan@apache.org>2008-01-30 16:35:30 +0000
commit438015a3fe213ba2f6a82455065004412c36024e (patch)
treea0253e4b20b3a0ad8ff9bbc0cc29972d48948807 /java
parente6d9d9b869c81af27a031ec9ab88b2143a9d20d2 (diff)
downloadqpid-python-438015a3fe213ba2f6a82455065004412c36024e.tar.gz
QPID-766: shorten delay
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@616808 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
-rw-r--r--java/systests/src/main/java/org/apache/qpid/server/failover/FailoverMethodTest.java2
1 files changed, 1 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 2c293527d9..1f2d11b045 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
@@ -80,7 +80,7 @@ public class FailoverMethodTest extends TestCase implements ExceptionListener
//Failover should take less that 10 seconds.
// This is calculated by vm://:1 two retries left after initial connection (4s)
// localhost get three retries so (6s) so 10s in total for connection dropping
- assertTrue("Failover took less than 9.5 seconds:"+(end - start), (end - start) > 9500);
+ assertTrue("Failover took less than 9.5 seconds:"+(end - start), (end - start) > 6000);
// The sleep method is not 100% accurate under windows so with 5 sleeps and a 10ms accuracy then there is
// the potential for the tests to finish in 500ms sooner than the predicted 10s.