This is an automated email from the ASF dual-hosted git repository.

clebertsuconic pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git

commit 41b2ec7efbc05955402ed94e2a120932dc6dab0b
Author: Clebert Suconic <[email protected]>
AuthorDate: Tue Mar 28 04:38:15 2023 -0400

    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.
---
 .../artemis/tests/integration/server/PotentialOOMELoggingTest.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/server/PotentialOOMELoggingTest.java
 
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/server/PotentialOOMELoggingTest.java
index acb7be4c9b..5eeee73720 100644
--- 
a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/server/PotentialOOMELoggingTest.java
+++ 
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/server/PotentialOOMELoggingTest.java
@@ -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);

Reply via email to