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
This commit is contained in:
Gary Tully 2012-06-11 14:52:17 +00:00
parent 06949a5074
commit c1fbf53b72
1 changed files with 2 additions and 1 deletions

View File

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