activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r1379923 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/discovery/DiscoveryNetworkReconnectTest.java
Date Sun, 02 Sep 2012 07:32:42 GMT
Author: davsclaus
Date: Sun Sep  2 07:32:41 2012
New Revision: 1379923

URL: http://svn.apache.org/viewvc?rev=1379923&view=rev
Log:
AMQ-4008: Fixed MDC leak during shutting down AMQ broker, such as reported by Apache Tomcat.

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/discovery/DiscoveryNetworkReconnectTest.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/discovery/DiscoveryNetworkReconnectTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/discovery/DiscoveryNetworkReconnectTest.java?rev=1379923&r1=1379922&r2=1379923&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/discovery/DiscoveryNetworkReconnectTest.java
(original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/discovery/DiscoveryNetworkReconnectTest.java
Sun Sep  2 07:32:41 2012
@@ -100,6 +100,7 @@ public class DiscoveryNetworkReconnectTe
         
         context.checking(new Expectations(){{
             allowing (managementContext).getJmxDomainName(); will (returnValue("Test"));
+            allowing (managementContext).setBrokerName("BrokerNC");
             allowing (managementContext).start();
             allowing (managementContext).isCreateConnector();
             allowing (managementContext).stop();



Mime
View raw message