Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.0-alpha-1
-
Component/s: indexing
-
Labels:None
-
Environment:Windows 2000 / JRE 1.5.0_8
-
Number of attachments :
Description
When building archiva, I sometime get Failures on some Lucene tests :
java.io.IOException: Directory D:\opensources\archiva\archiva-indexer\target\test-index unable to be deleted.
This exception is throwed by commons-io FileUtils.deleteDirectory.
According to http://www.gossamer-threads.com/lists/lucene/java-user/39116, some file handler opened by Lucene may stay opened and must wait for GC to be closed. Maybe this is an Lucene issue (handler may be closed explicitly, not just waiting for GC to do the job) ?