mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-02-06 10:09:01 +00:00
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.
This commit is contained in:
parent
603462a1a5
commit
49276ae633
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user