lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: Lucene (4.0), junit, failed to delete _0_nrm.cfs
Date Sun, 09 Dec 2012 17:13:05 GMT
Can you post the source code for your test case?

Mike McCandless

http://blog.mikemccandless.com

On Sun, Dec 9, 2012 at 11:45 AM, Clemens Wyss DEV <clemensdev@mysign.ch> wrote:
> I am (also) running lucene unit tests.
>
> In the teardown-method(@After) I (try to) delete the complete directory-folder. Unfortunately
this does not always work. If not, the file _0_nrm.cfs (or _0.fdx) is the first to cause problems,
i.e. is being "locked"...
> I do explicitly close the writers/readers and the directory itself. I even tried to unlock
the directory.
>
> What else could be "sitting" on the directory?

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message