Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ public void testAdvisoryPrefetchSize() throws Exception {

startAllBrokers();
verifyPeerBrokerInfo(brokers.get("A"), 1);
verifyPeerBrokerInfo(brokers.get("B"), 1);

createConsumer("A", topic1);
createConsumer("A", new ActiveMQTopic("A.FOO2"));
Expand Down Expand Up @@ -142,6 +143,7 @@ public void testAdvisoryPrefetchSize1() throws Exception {

startAllBrokers();
verifyPeerBrokerInfo(brokers.get("A"), 1);
verifyPeerBrokerInfo(brokers.get("B"), 1);

createConsumer("A", topic1);
createConsumer("A", new ActiveMQTopic("A.FOO2"));
Expand Down Expand Up @@ -177,6 +179,7 @@ public void testAdvisoryPrefetchSizeNotSet() throws Exception {

startAllBrokers();
verifyPeerBrokerInfo(brokers.get("A"), 1);
verifyPeerBrokerInfo(brokers.get("B"), 1);

createConsumer("A", topic1);
createConsumer("A", new ActiveMQTopic("A.FOO2"));
Expand Down Expand Up @@ -211,6 +214,7 @@ public void testPrefetchSize1() throws Exception {

startAllBrokers();
verifyPeerBrokerInfo(brokers.get("A"), 1);
verifyPeerBrokerInfo(brokers.get("B"), 1);

createConsumer("A", topic1);
createConsumer("A", new ActiveMQTopic("A.FOO2"));
Expand Down Expand Up @@ -243,6 +247,7 @@ public void testAdvisoryPrefetchSizePercent() throws Exception {

startAllBrokers();
verifyPeerBrokerInfo(brokers.get("A"), 1);
verifyPeerBrokerInfo(brokers.get("B"), 1);

for (int i = 0; i < 10; i++) {
createConsumer("A", new ActiveMQTopic("A.FOO"));
Expand Down Expand Up @@ -270,6 +275,7 @@ public void testPrefetchSizePercent() throws Exception {

startAllBrokers();
verifyPeerBrokerInfo(brokers.get("A"), 1);
verifyPeerBrokerInfo(brokers.get("B"), 1);

for (int i = 0; i < 10; i++) {
createConsumer("A", new ActiveMQTopic("A.FOO"));
Expand Down
Loading