This commit is contained in:
franz1981 2021-01-04 17:52:02 +01:00
commit 620e01b6b5
1 changed files with 2 additions and 2 deletions

View File

@ -296,7 +296,7 @@ public class PageCursorStressTest extends ActiveMQTestBase {
server.start(); server.start();
cursor = this.server.getPagingManager().getPageStore(ADDRESS).getCursorProvider().getSubscription(queue.getID()); cursor = this.server.getPagingManager().getPageStore(ADDRESS).getCursorProvider().getSubscription(queue.getID());
iterator = cursor.iterator(); iterator = cursor.iterator(true);
for (int i = 10; i <= 20; i++) { for (int i = 10; i <= 20; i++) {
PagedReference msg = iterator.next(); PagedReference msg = iterator.next();
@ -355,7 +355,7 @@ public class PageCursorStressTest extends ActiveMQTestBase {
cursor = this.server.getPagingManager().getPageStore(ADDRESS).getCursorProvider().getSubscription(queue.getID()); cursor = this.server.getPagingManager().getPageStore(ADDRESS).getCursorProvider().getSubscription(queue.getID());
tx = new TransactionImpl(server.getStorageManager(), 60 * 1000); tx = new TransactionImpl(server.getStorageManager(), 60 * 1000);
iterator = cursor.iterator(); iterator = cursor.iterator(true);
for (int i = 10; i <= 20; i++) { for (int i = 10; i <= 20; i++) {
PagedReference msg = iterator.next(); PagedReference msg = iterator.next();