You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Hemant Kumar (Jira)" <ji...@apache.org> on 2023/08/10 18:35:00 UTC

[jira] [Resolved] (HDDS-9145) Use JUnit's assertThrow instead of LambdaTestUtils#intercept

     [ https://issues.apache.org/jira/browse/HDDS-9145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hemant Kumar resolved HDDS-9145.
--------------------------------
    Resolution: Fixed

> Use JUnit's assertThrow instead of LambdaTestUtils#intercept
> ------------------------------------------------------------
>
>                 Key: HDDS-9145
>                 URL: https://issues.apache.org/jira/browse/HDDS-9145
>             Project: Apache Ozone
>          Issue Type: Test
>            Reporter: Hemant Kumar
>            Assignee: Hemant Kumar
>            Priority: Major
>              Labels: pull-request-available
>
> This task is use *JUnit*'s *assertThrow* to validate exception and their messages and deprecate *LambdaTestUtils#intercept*. *JUnit#assertThrow* provides the same lambda functionality as *LambdaTestUtils#intercept* and JUnit is already as dependency of Ozone.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org