This commit is contained in:
Justin Bertram 2017-04-07 09:11:37 -05:00
commit 9e41489aab
1 changed files with 1 additions and 0 deletions

View File

@ -45,6 +45,7 @@ public class PotentialOOMELoggingTest extends ActiveMQTestBase {
for (int i = 0; i < 10000; i++) {
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.start();