Windows?

 

-----

Uwe Schindler

H.-H.-Meier-Allee 63, D-28213 Bremen

http://www.thetaphi.de <http://www.thetaphi.de/> 

eMail: [email protected]

 

From: Shai Erera [mailto:[email protected]] 
Sent: Tuesday, April 27, 2010 5:50 PM
To: [email protected]
Subject: LuceneJUnitResultFormatter sometimes fails to lock

 

Hi

I ran "ant test-core" today and hit this:

[junit] Exception in thread "main" java.lang.RuntimeException: Failed to 
acquire random test lock; please verify filesystem for lock directory 
'C:\DOCUME~1\shaie\LOCALS~1\Temp\lucene_junit_lock' supports locking
[junit] at 
org.apache.lucene.store.NativeFSLockFactory.acquireTestLock(NativeFSLockFactory.java:88)
[junit] at 
org.apache.lucene.store.NativeFSLockFactory.makeLock(NativeFSLockFactory.java:127)
[junit] at 
org.apache.lucene.util.LuceneJUnitResultFormatter.<init>(LuceneJUnitResultFormatter.java:74)

All the tests still pass, but Ant reports a failure in the end. Also, this 
rarely happens, but I've run into it several times already. Anyone got an idea?

Shai

Reply via email to