mirror of https://github.com/apache/activemq.git
tackle intermittent ci failure, think possibe all messages are dispatched before pause
This commit is contained in:
parent
9a35c3731b
commit
fc9ad9f023
|
@ -120,11 +120,7 @@ public class SoWriteTimeoutTest extends JmsTestSupport {
|
|||
|
||||
frame = "SUBSCRIBE\n" + "destination:/queue/" + dest.getQueueName() + "\n" + "ack:client\n\n" + Stomp.NULL;
|
||||
stompConnection.sendFrame(frame);
|
||||
|
||||
// ensure dispatch has started before pause
|
||||
frame = stompConnection.receiveFrame();
|
||||
assertTrue(frame.startsWith("MESSAGE"));
|
||||
|
||||
|
||||
proxy.pause();
|
||||
|
||||
// writes should back up... writeTimeout will kick in a abort the connection
|
||||
|
|
Loading…
Reference in New Issue