activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r516008 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/XARecoveryBrokerTest.java
Date Thu, 08 Mar 2007 10:59:30 GMT
Author: rajdavies
Date: Thu Mar  8 02:59:29 2007
New Revision: 516008

URL: http://svn.apache.org/viewvc?view=rev&rev=516008
Log:
close connection before restarting the broker

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/XARecoveryBrokerTest.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/XARecoveryBrokerTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/XARecoveryBrokerTest.java?view=diff&rev=516008&r1=516007&r2=516008
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/XARecoveryBrokerTest.java
(original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/XARecoveryBrokerTest.java
Thu Mar  8 02:59:29 2007
@@ -73,6 +73,7 @@
 
         // Since prepared but not committed.. they should not get delivered.
         assertNoMessagesLeft(connection);
+        connection.request(closeConnectionInfo(connectionInfo));
 
         // restart the broker.
         restartBroker();
@@ -134,7 +135,7 @@
         
         // Commit
         connection.send(createCommitTransaction1Phase(connectionInfo, txid));
-
+        connection.request(closeConnectionInfo(connectionInfo));
         // restart the broker.
         restartBroker();
         



Mime
View raw message