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

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

For me Lucene tests worked in windows.

Solr failed one test:

{noformat}
   [junit4]   2> NOTE: reproduce with: ant test  
-Dtestcase=TestArbitraryIndexDir -Dtests.method=testLoadNewIndexDir 
-Dtests.seed=269DADB350875937 -Dtests.directory=NIOFSDirectory 
-Dtests.locale=ro_RO -Dtests.timezone=PST -Dtests.file.encoding=UTF-8
   [junit4] ERROR   1.55s J1 | TestArbitraryIndexDir.testLoadNewIndexDir <<<
   [junit4]    > Throwable #1: java.io.IOException: Could not remove the 
following files (in the order of attempts):
   [junit4]    >    C:\Users\Uwe 
Schindler\Projects\lucene\trunk-lusolr1\solr\build\solr-core\test\J1\.\temp\solr.core.TestArbitraryIndexDir-269DADB350875937-001\tempDir-001\index_temp:
 C:\Users\Uwe 
Schindler\Projects\lucene\trunk-lusolr1\solr\build\solr-core\test\J1\.\temp\solr.core.TestArbitraryIndexDir-269DADB350875937-001\tempDir-001\index_temp
   [junit4]    >        at 
__randomizedtesting.SeedInfo.seed([269DADB350875937:CFC7168BCE1EC99F]:0)
   [junit4]    >        at org.apache.lucene.util.IOUtils.rm(IOUtils.java:315)
   [junit4]    >        at 
org.apache.solr.core.TestArbitraryIndexDir.testLoadNewIndexDir(TestArbitraryIndexDir.java:135)
   [junit4]    >        at java.lang.Thread.run(Thread.java:745)
{noformat}

> 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
>
>
> 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to