mirror of https://github.com/apache/activemq.git
wait for started before checking on the MBean
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1336387 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c17129154d
commit
f13968e97e
|
@ -19,7 +19,9 @@ package org.apache.activemq.broker;
|
|||
import javax.jms.MessageProducer;
|
||||
import javax.jms.Session;
|
||||
import javax.management.ObjectName;
|
||||
|
||||
import junit.framework.Test;
|
||||
|
||||
import org.apache.activemq.TestSupport;
|
||||
import org.apache.activemq.command.ActiveMQQueue;
|
||||
import org.apache.activemq.util.JMXSupport;
|
||||
|
@ -65,6 +67,7 @@ public class QueueMbeanRestartTest extends TestSupport {
|
|||
broker.stop();
|
||||
broker.waitUntilStopped();
|
||||
createBroker(false);
|
||||
broker.waitUntilStarted();
|
||||
}
|
||||
|
||||
private void verifyPresenceOfQueueMbean() throws Exception {
|
||||
|
|
Loading…
Reference in New Issue