mirror of https://github.com/apache/activemq.git
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:
parent
e85dda9c64
commit
d55404445a
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue