mirror of https://github.com/apache/activemq.git
improve assert information to help diagnose intermittent failure
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@796983 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
432dcfeecf
commit
f36aa55c4a
|
@ -1187,7 +1187,8 @@ public class BrokerTest extends BrokerTestSupport {
|
||||||
// Send another message, connection1 should not get the message.
|
// Send another message, connection1 should not get the message.
|
||||||
connection2.request(createMessage(producerInfo2, destination, deliveryMode));
|
connection2.request(createMessage(producerInfo2, destination, deliveryMode));
|
||||||
|
|
||||||
assertNull(connection1.getDispatchQueue().poll(MAX_NULL_WAIT, TimeUnit.MILLISECONDS));
|
Object msg = connection1.getDispatchQueue().poll(MAX_NULL_WAIT, TimeUnit.MILLISECONDS);
|
||||||
|
assertNull("no message received from connection1 after session close", msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void initCombosForTestConsumerClose() {
|
public void initCombosForTestConsumerClose() {
|
||||||
|
|
Loading…
Reference in New Issue