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

Uwe Schindler commented on LUCENE-5906:
---------------------------------------

Hi the patch did not pass, too. The problem here is simple: the file was made 
read-only, so cannot be deleted. You need to add {{f.setWritable(true);}} at 
the end of test.

Otherwise it passes on windows, I ran the whole test suite ignoring failures 
and this was the only one broken.

> Use Files.delete instead of File.delete + made up exception
> -----------------------------------------------------------
>
>                 Key: LUCENE-5906
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5906
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: LUCENE-5906.patch, LUCENE-5906.patch, LUCENE-5906.patch, 
> LUCENE-5906.patch, LUCENE-5906.patch
>
>
> We are on java7, if we cannot delete a file, this one returns a real 
> exception as to why.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to