You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by gt...@apache.org on 2012/06/11 16:52:17 UTC

svn commit: r1348880 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/security/AbstractCachedLDAPAuthorizationMapLegacyTest.java

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"));