[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lucene-dev
Subject:    [jira] [Created] (LUCENE-3057) LuceneTestCase#newFSDirectoryImpl
From:       "Simon Willnauer (JIRA)" <jira () apache ! org>
Date:       2011-04-30 20:51:03
Message-ID: 1104193437.13762.1304196663105.JavaMail.tomcat () hel ! zones ! apache ! org
[Download RAW message or body]

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


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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic