diff options
| author | Marnie McCormack <marnie@apache.org> | 2009-10-15 15:00:00 +0000 |
|---|---|---|
| committer | Marnie McCormack <marnie@apache.org> | 2009-10-15 15:00:00 +0000 |
| commit | eee3bc498140a3e3e6c2b18e34c579d9c1b7738a (patch) | |
| tree | 28c17a428969739686a8744ac4c0e5a1ad8d50be /java | |
| parent | 02eea52570c54c41d4cbe780c84c8aacb5e3afd4 (diff) | |
| download | qpid-python-eee3bc498140a3e3e6c2b18e34c579d9c1b7738a.tar.gz | |
QPID-2148 Override tearDown to ignore JMSException
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@825510 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
| -rw-r--r-- | java/systests/src/main/java/org/apache/qpid/server/security/acl/SimpleACLTest.java | 14 |
1 files changed, 14 insertions, 0 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 bee4a017fd..45675998b2 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 @@ -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 { |
