activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r1348880 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/security/AbstractCachedLDAPAuthorizationMapLegacyTest.java
Date Mon, 11 Jun 2012 14:52:17 GMT
Author: gtully
Date: Mon Jun 11 14:52:17 2012
New Revision: 1348880

URL: http://svn.apache.org/viewvc?rev=1348880&view=rev
Log:
https://issues.apache.org/jira/browse/AMQ-3845 - increase the refresh rate in the test for
slower machines

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/security/AbstractCachedLDAPAuthorizationMapLegacyTest.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/security/AbstractCachedLDAPAuthorizationMapLegacyTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/security/AbstractCachedLDAPAuthorizationMapLegacyTest.java?rev=1348880&r1=1348879&r2=1348880&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/security/AbstractCachedLDAPAuthorizationMapLegacyTest.java
(original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/security/AbstractCachedLDAPAuthorizationMapLegacyTest.java
Mon Jun 11 14:52:17 2012
@@ -288,7 +288,8 @@ public abstract class AbstractCachedLDAP
     public void testRestart(boolean sync) throws Exception {
         map.query();
         if (sync) {
-            map.setRefreshInterval(1);
+            // ldap connection can be slow to close
+            map.setRefreshInterval(2000);
         }
 
         Set<?> failedACLs = map.getReadACLs(new ActiveMQQueue("FAILED"));



Mime
View raw message