mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-02-24 11:30:47 +00:00
NO-JIRA Limitting load on PotentialOOMELoggingTest
This test was generating too much data just to log an error message. The same error message would happen with just 100 queues.
This commit is contained in:
parent
6de9e30c46
commit
41b2ec7efb
@ -48,7 +48,7 @@ public class PotentialOOMELoggingTest extends ActiveMQTestBase {
|
||||
@Test
|
||||
public void testBlockLogging() throws Exception {
|
||||
ActiveMQServer server = createServer(false, createDefaultInVMConfig());
|
||||
for (int i = 0; i < 10000; i++) {
|
||||
for (int i = 0; i < 100; i++) {
|
||||
server.getConfiguration().addQueueConfiguration(new QueueConfiguration(UUID.randomUUID().toString()));
|
||||
}
|
||||
server.getConfiguration().setGlobalMaxSize(-1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user