lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Adams <...@ifactory.com>
Subject lock file race conditions
Date Tue, 01 Nov 2005 19:39:09 GMT
I have 2 junit tests. The first opens on index writer and then simulates
have an IOException get throw when trying to add a document. The test
that runs after than is just a normal test of the search. After the
first test completes a lock file is left in /tmp. Now, if I run the test
suite normally I get a "couldnt delete the lock file" exception from the
second test. If I run it again and set a breakpoint at the beginning of
the second test, wait a second, and then let it continue it runs fine.
What is causing this?

-- 
Dan Adams
Software Engineer
Interactive Factory


---------------------------------------------------------------------
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