Author: dejanb
Date: Fri Aug 10 14:04:58 2012
New Revision: 1371706
URL: http://svn.apache.org/viewvc?rev=1371706&view=rev
Log:
stop brokers after test, which should prevent
DbRestartJDBCQueueMasterSlaveLeaseQuiesceTest.testVirtualTopicFailover from
failing
Modified:
activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/ft/QueueMasterSlaveTest.java
Modified:
activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/ft/QueueMasterSlaveTest.java
URL:
http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/ft/QueueMasterSlaveTest.java?rev=1371706&r1=1371705&r2=1371706&view=diff
==============================================================================
---
activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/ft/QueueMasterSlaveTest.java
(original)
+++
activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/ft/QueueMasterSlaveTest.java
Fri Aug 10 14:04:58 2012
@@ -74,7 +74,8 @@ public class QueueMasterSlaveTest extend
protected void tearDown() throws Exception {
super.tearDown();
-
+ master.stop();
+ master.waitUntilStopped();
slaveStarted.await(5, TimeUnit.SECONDS);
BrokerService brokerService = slave.get();
if( brokerService!=null ) {