rcjverhoef commented on code in PR #11143: URL: https://github.com/apache/iceberg/pull/11143#discussion_r1762020148
########## core/src/test/java/org/apache/iceberg/rest/TestRESTCatalog.java: ########## @@ -2409,7 +2409,7 @@ public void testPaginationForListTables() { RESTCatalog catalog = new RESTCatalog(SessionCatalog.SessionContext.createEmpty(), (config) -> adapter); catalog.initialize("test", ImmutableMap.of(RESTSessionCatalog.REST_PAGE_SIZE, "10")); - int numberOfItems = 30; + int numberOfItems = 28; Review Comment: There is something to be said for having the `pageSize` be a multiple of the `numberOfItems` since that is an interesting edge case to ensure the return `nextPageToken` is empty from that point forward. Let me see if I can redo the tests somewhat to cover both cases. -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org