Author: clebert.suconic(a)jboss.com
Date: 2011-08-05 00:22:43 -0400 (Fri, 05 Aug 2011)
New Revision: 11131
Modified:
branches/Branch_2_2_EAP_cluster_clean2/tests/src/org/hornetq/tests/timing/jms/bridge/impl/JMSBridgeImplTest.java
Log:
fix thread leakage
Modified:
branches/Branch_2_2_EAP_cluster_clean2/tests/src/org/hornetq/tests/timing/jms/bridge/impl/JMSBridgeImplTest.java
===================================================================
---
branches/Branch_2_2_EAP_cluster_clean2/tests/src/org/hornetq/tests/timing/jms/bridge/impl/JMSBridgeImplTest.java 2011-08-05
04:17:52 UTC (rev 11130)
+++
branches/Branch_2_2_EAP_cluster_clean2/tests/src/org/hornetq/tests/timing/jms/bridge/impl/JMSBridgeImplTest.java 2011-08-05
04:22:43 UTC (rev 11131)
@@ -210,6 +210,8 @@
Thread.sleep(50);
Assert.assertFalse(bridge.isStarted());
Assert.assertTrue(bridge.isFailed());
+
+ bridge.stop();
}
Show replies by date