Re: Junit Testing Master/Slave Program Hangs forever..

2011-06-27 Thread Vijay
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

Re: Junit Testing Master/Slave Program Hangs forever..

2011-06-27 Thread Vijay
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

Re: Junit Testing Master/Slave Program Hangs forever..

2011-06-26 Thread Stan Lewis
  >     >   > >   > > 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. >

Re: Junit Testing Master/Slave Program Hangs forever..

2011-06-24 Thread Vijay
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.

Junit Testing Master/Slave Program Hangs forever..

2011-06-24 Thread Vijay
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