You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2021/08/27 17:24:34 UTC

[activemq-artemis] branch main updated: NO-JIRA Fixing small typo on MessagesExpiredPagingTest

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


The following commit(s) were added to refs/heads/main by this push:
     new b8ed0f2  NO-JIRA Fixing small typo on MessagesExpiredPagingTest
b8ed0f2 is described below

commit b8ed0f21c8ded47d7935e64313e837293259db3f
Author: Clebert Suconic <cl...@apache.org>
AuthorDate: Fri Aug 27 13:20:30 2021 -0400

    NO-JIRA Fixing small typo on MessagesExpiredPagingTest
---
 .../artemis/tests/integration/paging/MessagesExpiredPagingTest.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/paging/MessagesExpiredPagingTest.java b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/paging/MessagesExpiredPagingTest.java
index db12264..eae7795 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/paging/MessagesExpiredPagingTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/paging/MessagesExpiredPagingTest.java
@@ -97,7 +97,7 @@ public class MessagesExpiredPagingTest extends ActiveMQTestBase {
 
       server.addAddressInfo(new AddressInfo(ADDRESS).addRoutingType(RoutingType.MULTICAST));
 
-      for (int i = 0; i < 10; i++) {
+      for (int i = 0; i < NUMBER_OF_QUEUES; i++) {
          Queue queue = server.createQueue(new QueueConfiguration("q" + i).setRoutingType(RoutingType.MULTICAST).setAddress(ADDRESS));
          queues[i] = queue;
          peskyExpires[i] = new Thread(() -> {