ARTEMIS-2819 Proper fix (previous fix was breaking the testsuite)

This commit is contained in:
Clebert Suconic 2020-06-28 11:40:50 -04:00
parent cc7c3d3721
commit 51d1ed4e11
2 changed files with 4 additions and 4 deletions

View File

@ -304,7 +304,7 @@ public class HierarchicalObjectRepository<T> implements HierarchicalRepository<T
clearCache();
wildcardMatches.remove(modMatch);
} else {
cache.remove(modMatch);
clearCache();
exactMatches.remove(modMatch);
}
onChange();

View File

@ -1313,7 +1313,7 @@ public class ActiveMQServerControlTest extends ManagementTestBase {
public void testRemoveAddressSettingsEffective() throws Exception {
ActiveMQServerControl serverControl = createManagementControl();
String addr = "test";
String root = "#";
String root = "test.#";
String DLA = "someDLA";
String expiryAddress = "someExpiry";
@ -1322,8 +1322,8 @@ public class ActiveMQServerControlTest extends ManagementTestBase {
long maxExpiryDelay = 20000;
boolean lastValueQueue = true;
int deliveryAttempts = 1;
long maxSizeBytes = 20;
int pageSizeBytes = 10;
long maxSizeBytes = 10 * 1024 * 1024;
int pageSizeBytes = 1024 * 1024;
int pageMaxCacheSize = 7;
long redeliveryDelay = 4;
double redeliveryMultiplier = 1;