mirror of https://github.com/apache/activemq.git
Additional test to show that https://issues.apache.org/jira/browse/AMQ-3802 is a non-issue.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1326200 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
64a1c9bccc
commit
2f0ef2e670
|
@ -1418,7 +1418,7 @@ public class StompTest extends CombinationTestSupport {
|
||||||
assertTrue(frame.startsWith("CONNECTED"));
|
assertTrue(frame.startsWith("CONNECTED"));
|
||||||
|
|
||||||
// unsubscribe
|
// unsubscribe
|
||||||
frame = "UNSUBSCRIBE\n" + "destination:/topic/" + getQueueName() + "\n" + "ack:auto\nactivemq.subscriptionName:test\n\n" + Stomp.NULL;
|
frame = "UNSUBSCRIBE\n" + "destination:/topic/" + getQueueName() + "\n" + "activemq.subscriptionName:test\n\n" + Stomp.NULL;
|
||||||
stompConnection.sendFrame(frame);
|
stompConnection.sendFrame(frame);
|
||||||
frame = "DISCONNECT\n" + "\n\n" + Stomp.NULL;
|
frame = "DISCONNECT\n" + "\n\n" + Stomp.NULL;
|
||||||
stompConnection.sendFrame(frame);
|
stompConnection.sendFrame(frame);
|
||||||
|
@ -1426,6 +1426,7 @@ public class StompTest extends CombinationTestSupport {
|
||||||
Thread.sleep(400);
|
Thread.sleep(400);
|
||||||
} catch (InterruptedException e){}
|
} catch (InterruptedException e){}
|
||||||
assertEquals(view.getDurableTopicSubscribers().length, 0);
|
assertEquals(view.getDurableTopicSubscribers().length, 0);
|
||||||
|
assertEquals(view.getInactiveDurableTopicSubscribers().length, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testMessageIdHeader() throws Exception {
|
public void testMessageIdHeader() throws Exception {
|
||||||
|
|
Loading…
Reference in New Issue