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

Hemant Kumar updated HDDS-9170:
-------------------------------
    Summary: Deprecate GenericTestUtils#assertExceptionContains and use 
Hamcrest#assertThat  (was: Use JUnit's assertThrow instead of 
GenericTestUtils#assertExceptionContains)

> Deprecate GenericTestUtils#assertExceptionContains and use Hamcrest#assertThat
> ------------------------------------------------------------------------------
>
>                 Key: HDDS-9170
>                 URL: https://issues.apache.org/jira/browse/HDDS-9170
>             Project: Apache Ozone
>          Issue Type: Improvement
>            Reporter: Hemant Kumar
>            Assignee: Hemant Kumar
>            Priority: Major
>
> This task is use *JUnit#assertThrow* to validate exception and their messages 
> and deprecate *GenericTestUtils#assertExceptionContains*. *JUnit#assertThrow* 
> provides the same functionality as *GenericTestUtils#assertExceptionContains* 
> and JUnit is already as dependency of Ozone.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to