[ 
https://issues.apache.org/jira/browse/HADOOP-19025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17803631#comment-17803631
 ] 

ASF GitHub Bot commented on HADOOP-19025:
-----------------------------------------

adoroszlai opened a new pull request, #6415:
URL: https://github.com/apache/hadoop/pull/6415

   ## What changes were proposed in this pull request?
   
   Replace assertions in `ContractTestUtils` and abstract contract tests with 
`assertThat` from AssertJ, to reduce dependency on JUnit4.
   
   Kept `extends Assert` for compatibility, but I'd like to get rid of that in 
the long run.
    
   https://issues.apache.org/jira/browse/HADOOP-19025
   
   ## How was this patch tested?
   
   ```
   mvn -DskipShade -am -pl :hadoop-hdfs 
-Dtest='TestLocalFSContract*,TestHDFSContract*,TestRawLocal*' clean test
   ```




> Migrate ContractTestUtils to AssertJ
> ------------------------------------
>
>                 Key: HADOOP-19025
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19025
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>            Reporter: Attila Doroszlai
>            Assignee: Attila Doroszlai
>            Priority: Major
>
> Replace assertions from JUnit4 with equivalent functionality from AssertJ, to 
> make {{ContractTestUtils}} independent of JUnit version.



--
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