xBis7 opened a new pull request, #3794: URL: https://github.com/apache/ozone/pull/3794
## What changes were proposed in this pull request? While looking into the bug fixed in [this PR](https://github.com/apache/ozone/pull/3750), went over the tests for the bucket create request. The existing tests were all using a `ClientVersion` of value 0 which led to only covering the first code block [here](https://github.com/xBis7/ozone/blob/master/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/bucket/OMBucketCreateRequest.java#L277-L284). In this patch, I added a new test method which uses the latest `ClientVersion` and covers this code block [here](https://github.com/xBis7/ozone/blob/master/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/bucket/OMBucketCreateRequest.java#L286-L297). For consistency, the old tests will continue using `ClientVersion.DEFAULT_VERSION` as explained in this [comment](https://github.com/apache/ozone/pull/3750#discussion_r971350019). These changes were part of [PR 3750](https://github.com/apache/ozone/pull/3750) but were deemed irrelevant and m oved to this new PR. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-7280 ## How was this patch tested? All unit tests are passing. -- 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]
