diff options
author | Rafael H. Schloming <rhs@apache.org> | 2009-07-14 11:40:37 +0000 |
---|---|---|
committer | Rafael H. Schloming <rhs@apache.org> | 2009-07-14 11:40:37 +0000 |
commit | efe3360543f6b606c04bf5bd9782c80f7637a5fe (patch) | |
tree | e895e5813fb89882d15c1a6f39414225816de78d | |
parent | 81f6656649b81902b3f597be914d1fac204e1fe1 (diff) | |
download | qpid-python-efe3360543f6b606c04bf5bd9782c80f7637a5fe.tar.gz |
added debug output to SimpleACLTest; fixed MultipleConnectionTest.waitUntil() to never call wait(0)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@793864 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | java/systests/src/main/java/org/apache/qpid/server/security/acl/SimpleACLTest.java | 1 | ||||
-rw-r--r-- | java/systests/src/main/java/org/apache/qpid/test/unit/basic/MultipleConnectionTest.java | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/java/systests/src/main/java/org/apache/qpid/server/security/acl/SimpleACLTest.java b/java/systests/src/main/java/org/apache/qpid/server/security/acl/SimpleACLTest.java index 4db11e7db8..64838cd328 100644 --- a/java/systests/src/main/java/org/apache/qpid/server/security/acl/SimpleACLTest.java +++ b/java/systests/src/main/java/org/apache/qpid/server/security/acl/SimpleACLTest.java @@ -621,6 +621,7 @@ public class SimpleACLTest extends QpidTestCase implements ConnectionListener if (!(cause instanceof AMQAuthenticationException)) { + cause.printStackTrace(System.out); assertEquals("Incorrect exception", IllegalStateException.class, cause.getClass()); System.out.println("QPID-1204 : Session became closed and we got that error rather than the authentication error."); } diff --git a/java/systests/src/main/java/org/apache/qpid/test/unit/basic/MultipleConnectionTest.java b/java/systests/src/main/java/org/apache/qpid/test/unit/basic/MultipleConnectionTest.java index 658cf26135..4e85c28e9b 100644 --- a/java/systests/src/main/java/org/apache/qpid/test/unit/basic/MultipleConnectionTest.java +++ b/java/systests/src/main/java/org/apache/qpid/test/unit/basic/MultipleConnectionTest.java @@ -126,7 +126,7 @@ public class MultipleConnectionTest extends QpidTestCase while (expected > _count) { long timeLeft = maxWait - timeSince(start); - if (timeLeft < 0) + if (timeLeft <= 0) { break; } |