hemantk-12 opened a new pull request, #5166: URL: https://github.com/apache/ozone/pull/5166
## What changes were proposed in this pull request? This change is use `JUnit`'s `assertThrow` to assert exception type and their messages and deprecate `LambdaTestUtils#intercept`. `JUnit#assertThrow` provides the same lambda functionality as `LambdaTestUtils#intercep`t and `JUnit` is already as dependency of Ozone. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-9145 ## How was this patch tested? No function or logical change is source code or test code. So existing tests to verify the change. Ran workflow on fork branch few times: * https://github.com/hemantk-12/ozone/actions/runs/5814451527 * https://github.com/hemantk-12/ozone/actions/runs/5813782303 * https://github.com/hemantk-12/ozone/actions/runs/5813825159 -- 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]
