lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-3057) LuceneTestCase#newFSDirectoryImpl misses to set LockFactory if ctor call throws exception
Date Sun, 01 May 2011 10:27:03 GMT

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

Michael McCandless commented on LUCENE-3057:
--------------------------------------------

Patch looks great Simon; thanks for catching this selckin!  Maybe you can rip out the random
number generator in your machine and donate it to Apache!!!

> LuceneTestCase#newFSDirectoryImpl misses to set LockFactory if ctor call throws exception
> -----------------------------------------------------------------------------------------
>
>                 Key: LUCENE-3057
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3057
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 4.0
>            Reporter: Simon Willnauer
>            Priority: Minor
>             Fix For: 4.0
>
>         Attachments: LUCENE-3057.patch
>
>
> selckin reported on IRC that if you run ant test -Dtestcase=TestLockFactory -Dtestmethod=testNativeFSLockFactoryPrefix
-Dtests.directory=FSDirectory the test fails. Since FSDirectory is an abstract class it can
not be instantiated so our code falls back to FSDirector.open. yet we miss to set the given
lockFactory though.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


Mime
View raw message