mirror of https://github.com/apache/activemq.git
ensure connections are closed (so all messages are fludshed to the broker) before testing message delivery
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516063 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5143838fa3
commit
1d846a9e61
|
@ -163,7 +163,7 @@ public class AdvisoryBrokerTest extends BrokerTestSupport {
|
|||
assertEquals(((ConsumerInfo)m1.getDataStructure()).getConsumerId(), consumerInfo2.getConsumerId());
|
||||
|
||||
// Close the second connection.
|
||||
connection2.send(closeConnectionInfo(connectionInfo2));
|
||||
connection2.request(closeConnectionInfo(connectionInfo2));
|
||||
connection2.stop();
|
||||
|
||||
// We should get an advisory of the consumer closing
|
||||
|
|
Loading…
Reference in New Issue