activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r1380477 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/jmx/TransportConnectorMBeanTest.java
Date Tue, 04 Sep 2012 07:55:05 GMT
Author: davsclaus
Date: Tue Sep  4 07:55:05 2012
New Revision: 1380477

URL: http://svn.apache.org/viewvc?rev=1380477&view=rev
Log:
Fixing test that may fail

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/jmx/TransportConnectorMBeanTest.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/jmx/TransportConnectorMBeanTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/jmx/TransportConnectorMBeanTest.java?rev=1380477&r1=1380476&r2=1380477&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/jmx/TransportConnectorMBeanTest.java
(original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/jmx/TransportConnectorMBeanTest.java
Tue Sep  4 07:55:05 2012
@@ -78,6 +78,8 @@ public class TransportConnectorMBeanTest
     }
 
     private Set<ObjectName> getRegisteredMbeans() throws Exception {
+        // need a little sleep to ensure JMX is up to date
+        Thread.sleep(200);
         return broker.getManagementContext().queryNames(null, null);
     }
 



Mime
View raw message