summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarnie McCormack <marnie@apache.org>2009-10-15 15:00:00 +0000
committerMarnie McCormack <marnie@apache.org>2009-10-15 15:00:00 +0000
commit94e5a0ccf80d9e5061bceebf8f9caaeae8af4a5e (patch)
treec733715a2d9bb364d4af519946fd49467442af7e
parentd5297127496e97e491f4d1fed2162e225895ec25 (diff)
downloadqpid-python-94e5a0ccf80d9e5061bceebf8f9caaeae8af4a5e.tar.gz
QPID-2148 Override tearDown to ignore JMSException
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@825510 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--qpid/java/systests/src/main/java/org/apache/qpid/server/security/acl/SimpleACLTest.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/qpid/java/systests/src/main/java/org/apache/qpid/server/security/acl/SimpleACLTest.java b/qpid/java/systests/src/main/java/org/apache/qpid/server/security/acl/SimpleACLTest.java
index bee4a017fd..45675998b2 100644
--- a/qpid/java/systests/src/main/java/org/apache/qpid/server/security/acl/SimpleACLTest.java
+++ b/qpid/java/systests/src/main/java/org/apache/qpid/server/security/acl/SimpleACLTest.java
@@ -58,6 +58,20 @@ public class SimpleACLTest extends QpidTestCase implements ConnectionListener
//Each test now calls the private setUpACLTest to allow them to make
//individual customisations to the base ACL settings
}
+
+
+ public void tearDown() throws Exception
+ {
+ try
+ {
+ super.tearDown();
+ }
+ catch (JMSException e)
+ {
+ //we're throwing this away as it can happen in this test as the state manager remembers exceptions
+ //that we provoked with authentication failures, where the test passes - we can ignore on con close
+ }
+ }
private void setUpACLTest() throws Exception
{