umamaheswararao commented on code in PR #3379:
URL: https://github.com/apache/ozone/pull/3379#discussion_r869723595
##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/fs/ozone/TestRootedOzoneFileSystemWithFSO.java:
##########
@@ -224,4 +225,19 @@ public void testDeleteVolumeAndBucket() throws IOException
{
Assert.assertTrue(deletes == prevDeletes + 1);
}
+ @Test
+ public void testListStatusFSO() throws Exception {
+ Path parent = new Path(getBucketPath(), "testListStatusFSO");
Review Comment:
1300 can be extracted to a variable and provide details about why 1300 and
why not 1023 ?
##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/fs/ozone/TestRootedOzoneFileSystemWithFSO.java:
##########
@@ -224,4 +225,19 @@ public void testDeleteVolumeAndBucket() throws IOException
{
Assert.assertTrue(deletes == prevDeletes + 1);
}
+ @Test
+ public void testListStatusFSO() throws Exception {
+ Path parent = new Path(getBucketPath(), "testListStatusFSO");
+ for (int i = 0; i < 1300; i++) {
+ Path key = new Path(parent, "tempKey" + i);
+ ContractTestUtils.touch(getFs(), key);
+ // To add keys to the cache
Review Comment:
@aswinshakil Let's provide little mode details in comments. It would be
great to add Javadoc about what scenario it's testing.
--
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]