quantranhong1999 commented on code in PR #2928:
URL: https://github.com/apache/james-project/pull/2928#discussion_r2753236238
##########
mailbox/store/src/test/java/org/apache/james/mailbox/store/search/AbstractMessageSearchIndexTest.java:
##########
@@ -372,7 +374,7 @@ void
searchingMessageInMultipleMailboxShouldNotReturnLessMessageThanLimitArgumen
List<MessageId> result = messageSearchIndex.search(session,
ImmutableList.of(mailbox2.getMailboxId(), mailbox.getMailboxId()),
searchQuery,
- limit)
+ SearchOptions.limit(Limit.limit(limit)))
Review Comment:
The limit here is dynamic. We can live with this IMO.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]