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@516067 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2007-03-08 15:14:45 +00:00
parent 1d846a9e61
commit 2a6a441fb0
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ public class XARecoveryBrokerTest extends BrokerRestartTestSupport {
connection.send(ack);
}
// Commit
connection.send(createCommitTransaction1Phase(connectionInfo, txid));
connection.request(createCommitTransaction1Phase(connectionInfo, txid));
// restart the broker.
restartBroker();