Author: borges
Date: 2011-12-06 05:08:37 -0500 (Tue, 06 Dec 2011)
New Revision: 11849
Modified:
trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/client/MessageGroupingConnectionFactoryTest.java
Log:
Class is not sub-class of ServiceTestBase
Modified:
trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/client/MessageGroupingConnectionFactoryTest.java
===================================================================
---
trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/client/MessageGroupingConnectionFactoryTest.java 2011-12-06
10:08:23 UTC (rev 11848)
+++
trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/client/MessageGroupingConnectionFactoryTest.java 2011-12-06
10:08:37 UTC (rev 11849)
@@ -160,8 +160,8 @@
ServerLocator locator = HornetQClient.createServerLocatorWithoutHA(new
TransportConfiguration(ServiceTestBase.INVM_CONNECTOR_FACTORY));
locator.setGroupID("grp1");
- ClientSessionFactory sessionFactory = createSessionFactory(locator);
- clientSession = addClientSession(sessionFactory.createSession(false, true, true));
+ ClientSessionFactory sessionFactory = locator.createSessionFactory();
+ clientSession = sessionFactory.createSession(false, true, true);
clientSession.createQueue(qName, qName, null, false);
}