NO-JIRA test fix (PotentialOOMELoggingTest)
This commit is contained in:
parent
d82d028e76
commit
53a801043b
|
@ -45,6 +45,7 @@ public class PotentialOOMELoggingTest extends ActiveMQTestBase {
|
||||||
for (int i = 0; i < 10000; i++) {
|
for (int i = 0; i < 10000; i++) {
|
||||||
server.getConfiguration().addQueueConfiguration(new CoreQueueConfiguration().setAddress(UUID.randomUUID().toString()).setName(UUID.randomUUID().toString()));
|
server.getConfiguration().addQueueConfiguration(new CoreQueueConfiguration().setAddress(UUID.randomUUID().toString()).setName(UUID.randomUUID().toString()));
|
||||||
}
|
}
|
||||||
|
server.getConfiguration().setGlobalMaxSize(-1);
|
||||||
server.getConfiguration().getAddressesSettings().put("#", new AddressSettings().setMaxSizeBytes(10485760 * 10));
|
server.getConfiguration().getAddressesSettings().put("#", new AddressSettings().setMaxSizeBytes(10485760 * 10));
|
||||||
server.start();
|
server.start();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue