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

Hemant Kumar updated HDDS-9170:
-------------------------------
    Description: 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.  (was: This task is use *JUnit#assertThrow* to validate exception and 
their messages and deprecate *GenericTestUtils#assertExceptionContains*. 
*JUnit#assertThrow* provides the same lambda functionality as 
GenericTestUtils#assertExceptionContains and JUnit is already as dependency of 
Ozone.)

> Use JUnit's assertThrow instead of GenericTestUtils#assertExceptionContains
> ---------------------------------------------------------------------------
>
>                 Key: HDDS-9170
>                 URL: https://issues.apache.org/jira/browse/HDDS-9170
>             Project: Apache Ozone
>          Issue Type: Improvement
>            Reporter: 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