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:
Robert Davies 2006-02-21 13:50:17 +00:00
parent aa2188c159
commit e733f71b48
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@ public class QueueMasterSlaveTest extends JmsTopicSendReceiveWithTwoConnectionsT
protected void messageSent() throws Exception{
if (++inflightMessageCount >= failureCount){
inflightMessageCount = 0;
Thread.sleep(1000);
master.stop();
}
}