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

Ayush Saxena commented on HDFS-14967:
-------------------------------------

Thanx [~prasad-acit] for the report. There are two ways going around. Either we 
close the cluster in the missing test, or take a step ahead pull the 
{{cluster}} variable up as class variable and add an {{@After}} block common 
for all test and close the cluster there. I prefer the later one as it will 
prevent the cluster being open on account of a test getting timeout.

> TestWebHDFS - Many test cases are failing in Windows 
> -----------------------------------------------------
>
>                 Key: HDFS-14967
>                 URL: https://issues.apache.org/jira/browse/HDFS-14967
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Renukaprasad C
>            Assignee: Renukaprasad C
>            Priority: Major
>
> In TestWebHDFS test class, few test cases are not closing the MiniDFSCluster, 
> which results in remaining test failures in Windows. Once cluster status is 
> open, all consecutive test cases fail to get the lock on Data dir which 
> results  in test case failure.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to