From f9db4423b1c3a61d5b1328b23fe307e89cd25966 Mon Sep 17 00:00:00 2001 From: James Strachan Date: Thu, 5 Jan 2006 16:38:14 +0000 Subject: [PATCH] fixed bad test case that creates 2 connections with the same clientID git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366215 13f79535-47bb-0310-9956-ffa450edef68 --- .../activemq/usecases/DurableSubscriptionTestSupport.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/assembly/src/test/java/org/apache/activemq/usecases/DurableSubscriptionTestSupport.java b/assembly/src/test/java/org/apache/activemq/usecases/DurableSubscriptionTestSupport.java index ce5977792b..71ea9ad72f 100755 --- a/assembly/src/test/java/org/apache/activemq/usecases/DurableSubscriptionTestSupport.java +++ b/assembly/src/test/java/org/apache/activemq/usecases/DurableSubscriptionTestSupport.java @@ -340,9 +340,8 @@ abstract public class DurableSubscriptionTestSupport extends TestSupport { // 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);