mirror of https://github.com/apache/activemq.git
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:
parent
06949a5074
commit
c1fbf53b72
|
@ -288,7 +288,8 @@ public abstract class AbstractCachedLDAPAuthorizationMapLegacyTest extends Abstr
|
||||||
public void testRestart(boolean sync) throws Exception {
|
public void testRestart(boolean sync) throws Exception {
|
||||||
map.query();
|
map.query();
|
||||||
if (sync) {
|
if (sync) {
|
||||||
map.setRefreshInterval(1);
|
// ldap connection can be slow to close
|
||||||
|
map.setRefreshInterval(2000);
|
||||||
}
|
}
|
||||||
|
|
||||||
Set<?> failedACLs = map.getReadACLs(new ActiveMQQueue("FAILED"));
|
Set<?> failedACLs = map.getReadACLs(new ActiveMQQueue("FAILED"));
|
||||||
|
|
Loading…
Reference in New Issue