devmadhuu commented on code in PR #4724:
URL: https://github.com/apache/ozone/pull/4724#discussion_r1196594522
##########
hadoop-ozone/recon/src/test/java/org/apache/hadoop/ozone/recon/api/TestContainerEndpoint.java:
##########
@@ -629,19 +642,20 @@ public void testGetContainersWithPrevKey()
ContainersResponse.ContainersResponseData data =
responseObject.getContainersResponseData();
- // Ensure that the total count of containers is 4
- assertEquals(4, data.getTotalCount());
+ // Ensure that the total count of containers is 3 as containers having
+ // ID's 1,2, will be skipped and the next 3 containers will be returned
+ assertEquals(3, data.getTotalCount());
Review Comment:
can you pls assert prevKey also here ?
--
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]