mirror of https://github.com/apache/activemq.git
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
This commit is contained in:
parent
d7f91463d6
commit
f9db4423b1
|
@ -340,9 +340,8 @@ abstract public class DurableSubscriptionTestSupport extends TestSupport {
|
||||||
// See if the durable sub works in a new connection.
|
// See if the durable sub works in a new connection.
|
||||||
// The embeded broker shutsdown when his connections are closed.
|
// The embeded broker shutsdown when his connections are closed.
|
||||||
// So we open the new connection before the old one is closed.
|
// So we open the new connection before the old one is closed.
|
||||||
Connection t = createConnection();
|
|
||||||
connection.close();
|
connection.close();
|
||||||
connection = t;
|
connection = createConnection();
|
||||||
connection.start();
|
connection.start();
|
||||||
session = connection.createSession(false, Session.CLIENT_ACKNOWLEDGE);
|
session = connection.createSession(false, Session.CLIENT_ACKNOWLEDGE);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue