devmadhuu commented on code in PR #4182:
URL: https://github.com/apache/ozone/pull/4182#discussion_r1151434884


##########
hadoop-ozone/recon/src/test/java/org/apache/hadoop/ozone/recon/api/TestContainerEndpoint.java:
##########
@@ -278,10 +410,41 @@ public void testGetKeysForContainer() {
     keyMetadataList = data.getKeys();
     assertEquals(1, keyMetadataList.size());
     assertEquals(3, data.getTotalCount());
+
+    // Now to check if the ContainerEndpoint also reads the File table
+    // Set up test data for FSO keys
+    setUpFSOData();

Review Comment:
   @ArafatKhan2198 - Thanks for working on this patch. As discussed, pls add 2 
test cases separately for testing prevKeyPrefix behavior for FSO bucket keys. 
Add 4 FSO keys on 4 separate paths.
   1. prevKeyPrefix - empty
   2. prevKeyPrefix - Pass 2nd path as prevKeyPrefix and assert for 3rd path in 
API response.



-- 
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]

Reply via email to