Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-3057

LuceneTestCase#newFSDirectoryImpl misses to set LockFactory if ctor call throws exception

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.0-ALPHA
    • 4.0-ALPHA
    • general/test
    • None
    • New, Patch Available

    Description

      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.

      Attachments

        1. LUCENE-3057_bug.patch
          0.6 kB
          Robert Muir
        2. LUCENE-3057.patch
          1 kB
          Simon Willnauer

        Activity

          People

            Unassigned Unassigned
            simonw Simon Willnauer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: