mirror of https://github.com/apache/activemq.git
Add sanity check of browse list
This commit is contained in:
parent
5abd2d231a
commit
fef8cac05f
|
@ -83,6 +83,8 @@ public class PurgeTest extends EmbeddedBrokerTestSupport {
|
||||||
long count = proxy.getQueueSize();
|
long count = proxy.getQueueSize();
|
||||||
assertEquals("Queue size", count, messageCount);
|
assertEquals("Queue size", count, messageCount);
|
||||||
|
|
||||||
|
assertEquals("Browse size", messageCount, proxy.browseMessages().size());
|
||||||
|
|
||||||
proxy.purge();
|
proxy.purge();
|
||||||
count = proxy.getQueueSize();
|
count = proxy.getQueueSize();
|
||||||
assertEquals("Queue size", count, 0);
|
assertEquals("Queue size", count, 0);
|
||||||
|
|
Loading…
Reference in New Issue