[hornetq-commits] JBoss hornetq SVN: r12191 - trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/distribution.

do-not-reply at jboss.org do-not-reply at jboss.org
Fri Feb 24 11:04:10 EST 2012


Author: borges
Date: 2012-02-24 11:04:09 -0500 (Fri, 24 Feb 2012)
New Revision: 12191

Modified:
   trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/distribution/TwoWayTwoNodeClusterTest.java
Log:
HORNETQ-866 Remove duplicate tearDown code. All sessions/factories/servers/etc are already closed in UnitTestCase.tearDown()

Modified: trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/distribution/TwoWayTwoNodeClusterTest.java
===================================================================
--- trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/distribution/TwoWayTwoNodeClusterTest.java	2012-02-24 16:03:52 UTC (rev 12190)
+++ trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/distribution/TwoWayTwoNodeClusterTest.java	2012-02-24 16:04:09 UTC (rev 12191)
@@ -49,22 +49,6 @@
       setupClusterConnection("cluster1", 1, 0, "queues", false, 1, isNetty(), false);
    }
 
-   @Override
-   protected void tearDown() throws Exception
-   {
-      log.info("#test tearDown");
-      closeAllConsumers();
-
-      closeAllSessionFactories();
-
-      closeAllServerLocatorsFactories();
-
-      stopServers(0, 1);
-
-      super.tearDown();
-   }
-
-
    protected boolean isNetty()
    {
       return false;



More information about the hornetq-commits mailing list