mirror of https://github.com/apache/activemq.git
stop brokers after test, which should prevent DbRestartJDBCQueueMasterSlaveLeaseQuiesceTest.testVirtualTopicFailover from failing
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1371706 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e28b55c142
commit
fc0b359973
|
@ -74,7 +74,8 @@ public class QueueMasterSlaveTest extends JmsTopicSendReceiveWithTwoConnectionsT
|
||||||
|
|
||||||
protected void tearDown() throws Exception {
|
protected void tearDown() throws Exception {
|
||||||
super.tearDown();
|
super.tearDown();
|
||||||
|
master.stop();
|
||||||
|
master.waitUntilStopped();
|
||||||
slaveStarted.await(5, TimeUnit.SECONDS);
|
slaveStarted.await(5, TimeUnit.SECONDS);
|
||||||
BrokerService brokerService = slave.get();
|
BrokerService brokerService = slave.get();
|
||||||
if( brokerService!=null ) {
|
if( brokerService!=null ) {
|
||||||
|
|
Loading…
Reference in New Issue