[
https://issues.apache.org/jira/browse/HDFS-1805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13018344#comment-13018344
]
Daryn Sharp commented on HDFS-1805:
-----------------------------------
Just an addendum to Konstantin: converting to junit4 would be tremendously
useful but it won't be trivial since the tests use a custom framework to
execute the contents of xml files. I do think a custom junit test runner could
be used to avoid a complete rewrite of the tests.
> Some Tests in TestDFSShell can not shutdown the MiniDFSCluster on any
> exception/assertion failure. This will leads to fail other testcases.
> -------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HDFS-1805
> URL: https://issues.apache.org/jira/browse/HDFS-1805
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: test
> Reporter: Uma Maheswara Rao G
> Assignee: Uma Maheswara Rao G
> Priority: Minor
> Attachments: HDFS-1805.patch
>
>
> Some test cases in TestDFSShell are not shutting down the MiniDFSCluster in
> finally.
> If any test assertion failure or exception can result in not shutting down
> this cluster. Because of this other testcases will fail. This will create
> difficulty in finding the actual testcase failures.
> So, better to shutdown the cluster in finally.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira