activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r366215 - /incubator/activemq/trunk/assembly/src/test/java/org/apache/activemq/usecases/DurableSubscriptionTestSupport.java
Date Thu, 05 Jan 2006 16:38:16 GMT
Author: jstrachan
Date: Thu Jan  5 08:38:14 2006
New Revision: 366215

URL: http://svn.apache.org/viewcvs?rev=366215&view=rev
Log:
fixed bad test case that creates 2 connections with the same clientID

Modified:
    incubator/activemq/trunk/assembly/src/test/java/org/apache/activemq/usecases/DurableSubscriptionTestSupport.java

Modified: incubator/activemq/trunk/assembly/src/test/java/org/apache/activemq/usecases/DurableSubscriptionTestSupport.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/assembly/src/test/java/org/apache/activemq/usecases/DurableSubscriptionTestSupport.java?rev=366215&r1=366214&r2=366215&view=diff
==============================================================================
--- incubator/activemq/trunk/assembly/src/test/java/org/apache/activemq/usecases/DurableSubscriptionTestSupport.java
(original)
+++ incubator/activemq/trunk/assembly/src/test/java/org/apache/activemq/usecases/DurableSubscriptionTestSupport.java
Thu Jan  5 08:38:14 2006
@@ -340,9 +340,8 @@
         // See if the durable sub works in a new connection.
         // The embeded broker shutsdown when his connections are closed.
         // So we open the new connection before the old one is closed.
-        Connection t = createConnection();
         connection.close();
-        connection = t;       
+        connection = createConnection();
         connection.start();
         session = connection.createSession(false, Session.CLIENT_ACKNOWLEDGE);
 



Mime
View raw message