mirror of https://github.com/apache/activemq.git
test that did not stop broker in teardown, schedualler on startup shows it up: https://issues.apache.org/activemq/browse/AMQ-2897
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@997412 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a0b017611b
commit
cb519da097
|
@ -41,15 +41,23 @@ public class JmsRollbackRedeliveryTest extends AutoFailTestSupport {
|
|||
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 {
|
||||
|
|
Loading…
Reference in New Issue