chungen0126 opened a new pull request, #3993: URL: https://github.com/apache/ozone/pull/3993
## What changes were proposed in this pull request? 1. Fix list snapshot API. Let it list the correct snapshot when there are more than one buckets. 2. Throw an exception when listing a non-existent bucket. 3. Add a assertion in `testListSnapshot` for listing a non-existent bucket. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-7512 ## How was this patch tested? The following is a manual test on docker for listing correct snapshot:  The following is a manual test on docker for listing a non-existent bucket:  The following is the unit test:  -- 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]
