Return-Path: Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: (qmail 9938 invoked from network); 15 Sep 2010 17:39:05 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Sep 2010 17:39:05 -0000 Received: (qmail 92034 invoked by uid 500); 15 Sep 2010 17:39:05 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 91971 invoked by uid 500); 15 Sep 2010 17:39:04 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 91964 invoked by uid 99); 15 Sep 2010 17:39:04 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Sep 2010 17:39:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Sep 2010 17:38:46 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id F36622388903; Wed, 15 Sep 2010 17:38:25 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r997412 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/JmsRollbackRedeliveryTest.java Date: Wed, 15 Sep 2010 17:38:25 -0000 To: commits@activemq.apache.org From: gtully@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100915173825.F36622388903@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: gtully Date: Wed Sep 15 17:38:25 2010 New Revision: 997412 URL: http://svn.apache.org/viewvc?rev=997412&view=rev Log: test that did not stop broker in teardown, schedualler on startup shows it up: https://issues.apache.org/activemq/browse/AMQ-2897 Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/JmsRollbackRedeliveryTest.java Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/JmsRollbackRedeliveryTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/JmsRollbackRedeliveryTest.java?rev=997412&r1=997411&r2=997412&view=diff ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/JmsRollbackRedeliveryTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/JmsRollbackRedeliveryTest.java Wed Sep 15 17:38:25 2010 @@ -41,15 +41,23 @@ public class JmsRollbackRedeliveryTest e final String brokerUrl = "vm://localhost?create=false"; boolean consumerClose = true; boolean rollback = true; + BrokerService broker; public void setUp() throws Exception { setAutoFail(true); super.setUp(); - BrokerService broker = new BrokerService(); + broker = new BrokerService(); broker.setPersistent(false); broker.setUseJmx(false); broker.start(); } + + public void tearDown() throws Exception { + super.tearDown(); + if (broker != null) { + broker.stop(); + } + } public void testRedelivery() throws Exception {