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 2022/03/22 13:31:05 UTC

[activemq-artemis] branch main updated: NO-JIRA fixing 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 49276ae  NO-JIRA fixing MessagesExpiredPagingTest
49276ae is described below

commit 49276ae6335f82e99fe206062aaba2e8aab96a26
Author: Clebert Suconic <cl...@apache.org>
AuthorDate: Tue Mar 22 09:15:06 2022 -0400

    NO-JIRA fixing MessagesExpiredPagingTest
    
    There is a reference expiring in one hour. It should not leave page mode.
    This is about still flowing messages, not leaving page mode.
---
 .../artemis/tests/integration/paging/MessagesExpiredPagingTest.java      | 1 -
 1 file changed, 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 b4c2dc6..f2c3723 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
@@ -184,7 +184,6 @@ public class MessagesExpiredPagingTest extends ActiveMQTestBase {
          for (int i = 0; i < numberOfMessages; i++) {
             if (i > 0 && i % pagingInterval == 0) {
                for (Consumer c : consumers) {
-                  Wait.assertFalse(queues[0].getPagingStore()::isPaging, 5000, 100);
                   producer.setTimeToLive(TimeUnit.HOURS.toMillis(1));
                   producer.send(session.createTextMessage("hello" + extraBody));
                   Wait.assertTrue(() -> c.consumedDelta.get() > 0);