From c1fbf53b7291a284f63e5b1c62917b9af08f0908 Mon Sep 17 00:00:00 2001 From: Gary Tully Date: Mon, 11 Jun 2012 14:52:17 +0000 Subject: [PATCH] https://issues.apache.org/jira/browse/AMQ-3845 - increase the refresh rate in the test for slower machines git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1348880 13f79535-47bb-0310-9956-ffa450edef68 --- .../security/AbstractCachedLDAPAuthorizationMapLegacyTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/activemq-core/src/test/java/org/apache/activemq/security/AbstractCachedLDAPAuthorizationMapLegacyTest.java b/activemq-core/src/test/java/org/apache/activemq/security/AbstractCachedLDAPAuthorizationMapLegacyTest.java index deb6d5b1d3..d29241d6ba 100644 --- a/activemq-core/src/test/java/org/apache/activemq/security/AbstractCachedLDAPAuthorizationMapLegacyTest.java +++ b/activemq-core/src/test/java/org/apache/activemq/security/AbstractCachedLDAPAuthorizationMapLegacyTest.java @@ -288,7 +288,8 @@ public abstract class AbstractCachedLDAPAuthorizationMapLegacyTest extends Abstr 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"));