adoroszlai commented on code in PR #6416:
URL: https://github.com/apache/ozone/pull/6416#discussion_r1535080624
##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/shell/TestOzoneShellHA.java:
##########
@@ -758,10 +759,12 @@ public void testListBucket() throws Exception {
final String hostPrefix = OZONE_OFS_URI_SCHEME + "://" + omServiceId;
OzoneConfiguration clientConf =
getClientConfForOFS(hostPrefix, cluster.getConf());
+ int pageSize = 20;
+ clientConf.setInt(OZONE_FS_LISTING_PAGE_SIZE, pageSize);
OzoneFsShell shell = new OzoneFsShell(clientConf);
String volName = "testlistbucket";
- int numBuckets = 1025;
+ int numBuckets = pageSize;
Review Comment:
Should it be `pagesize + 1`?
##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/shell/TestOzoneShellHA.java:
##########
@@ -758,10 +759,12 @@ public void testListBucket() throws Exception {
final String hostPrefix = OZONE_OFS_URI_SCHEME + "://" + omServiceId;
OzoneConfiguration clientConf =
getClientConfForOFS(hostPrefix, cluster.getConf());
+ int pageSize = 20;
+ clientConf.setInt(OZONE_FS_LISTING_PAGE_SIZE, pageSize);
OzoneFsShell shell = new OzoneFsShell(clientConf);
String volName = "testlistbucket";
- int numBuckets = 1025;
+ int numBuckets = pageSize;
Review Comment:
Should it be `pageSize + 1`?
--
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]