mirror of https://github.com/apache/activemq.git
added a sleep before stop
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379452 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
aa2188c159
commit
e733f71b48
|
@ -66,6 +66,7 @@ public class QueueMasterSlaveTest extends JmsTopicSendReceiveWithTwoConnectionsT
|
|||
protected void messageSent() throws Exception{
|
||||
if (++inflightMessageCount >= failureCount){
|
||||
inflightMessageCount = 0;
|
||||
Thread.sleep(1000);
|
||||
master.stop();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue