give it more time to build up writes

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@955993 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2010-06-18 13:08:31 +00:00
parent e85dda9c64
commit d55404445a
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ public class SoWriteTimeoutTest extends JmsTestSupport {
MessageConsumer consumer = session.createConsumer(dest); MessageConsumer consumer = session.createConsumer(dest);
proxy.pause(); proxy.pause();
// writes should back up... writeTimeout will kick in a abort the connection // writes should back up... writeTimeout will kick in a abort the connection
TimeUnit.SECONDS.sleep(4); TimeUnit.SECONDS.sleep(10);
proxy.goOn(); proxy.goOn();
assertNotNull("can receive buffered messages", consumer.receive(500)); assertNotNull("can receive buffered messages", consumer.receive(500));
try { try {