LOG.info("slaveBroker.waitUntilStarted() completed");
//give 5 sec for Master to Start
Thread.sleep(5*1000);
masterBroker.waitUntilStarted();
LOG.info("masterBroker.waitUntilStarted() completed");
--
View this messa
ilStarted() completed");
//Stop Master
masterBroker.stop();
masterBroker.waitUntilStopped();
assertTrue("Slave indeed master now?", !slaveBroker.isSlave());
}
--
View this message in context:
http://activemq.2283324.n4.na
>
>
>
>
>
> Slave.xml
> ---
>
> masterConnectorURI="tcp://localhost:61616?wireFormat.maxInactivityDurationInitalDelay=9"
> persistent="true" xmlns="http://activemq.apache.org/schema/core";>
>
>
>
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Junit-Testing-Master-Slave-Program-Hangs-forever-tp3623477p3623477.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
A type in my original post:
For masterConnectorURI, I am using tcp://localhost:61616
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Junit-Testing-Master-Slave-Program-Hangs-forever-tp3623477p3623481.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
ter.xml
http://activemq.apache.org/schema/core";>
Slave.xml
---
http://activemq.apache.org/schema/core";>
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Junit-Testing-Master-S