[
https://issues.apache.org/jira/browse/HDFS-3583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Wang updated HDFS-3583:
------------------------------
Attachment: junit3to4.sh
Sed source code mangler attached. I tested it in the hadoop-hdfs directory,
then running Eclipse's auto-import formatter, and then running a mvn compile
(which succeeded).
Grepping for "junit.framework" afterwards yields nothing, so this script might
actually take care of all the junit3 in hadoop-hdfs.
> Convert remaining tests to Junit4
> ---------------------------------
>
> Key: HDFS-3583
> URL: https://issues.apache.org/jira/browse/HDFS-3583
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: test
> Affects Versions: 2.0.0-alpha
> Reporter: Eli Collins
> Assignee: Andrew Wang
> Labels: newbie
> Attachments: junit3to4.sh
>
>
> JUnit4 style tests are easier to debug (eg can use @Timeout etc), let's
> convert the remaining tests over to Junit4 style.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira