summaryrefslogtreecommitdiff
path: root/java/client
diff options
context:
space:
mode:
authorMartin Ritchie <ritchiem@apache.org>2008-03-03 14:54:59 +0000
committerMartin Ritchie <ritchiem@apache.org>2008-03-03 14:54:59 +0000
commit79af556e23ff02c660abee6ff9f1f0aa278b1d87 (patch)
treeb5959359be90d6a483ab0f57e15100777b23a732 /java/client
parentd2c391747f443d9abf1cbcfb436506de707c91bb (diff)
downloadqpid-python-79af556e23ff02c660abee6ff9f1f0aa278b1d87.tar.gz
QPID-594 QPID-107 Updated Connection missing AMQAuthenticationException problems
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@633111 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/client')
-rw-r--r--java/client/src/test/java/org/apache/qpid/test/unit/client/connection/ConnectionTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/client/src/test/java/org/apache/qpid/test/unit/client/connection/ConnectionTest.java b/java/client/src/test/java/org/apache/qpid/test/unit/client/connection/ConnectionTest.java
index 4d47d080b7..53d25c2cad 100644
--- a/java/client/src/test/java/org/apache/qpid/test/unit/client/connection/ConnectionTest.java
+++ b/java/client/src/test/java/org/apache/qpid/test/unit/client/connection/ConnectionTest.java
@@ -126,7 +126,7 @@ public class ConnectionTest extends TestCase
}
catch (AMQException amqe)
{
- if (amqe.getCause() instanceof Exception)
+ if (amqe.getCause().getClass() == Exception.class)
{
System.err.println("QPID-594 : WARNING RACE CONDITION. Unable to determine cause of Connection Failure.");
return;