From 94e5a0ccf80d9e5061bceebf8f9caaeae8af4a5e Mon Sep 17 00:00:00 2001 From: Marnie McCormack Date: Thu, 15 Oct 2009 15:00:00 +0000 Subject: QPID-2148 Override tearDown to ignore JMSException git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@825510 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/qpid/server/security/acl/SimpleACLTest.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'qpid/java') 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 { -- cgit v1.2.1