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

Threaded tests with MockDirectoryWrapper delete active PostingFormat files

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 4.0-ALPHA
    • 4.0-BETA
    • core/codecs, general/test
    • None
    • Win XP 64bit Sun JDK 1.6

    • New

    Description

      As part of testing Lucene-4069 I have encountered sporadic issues with files going missing. I believe this is a bug in the test framework (multi-threading issues in MockDirectoryWrapper?) so have raised a separate issue with simplified test PostingFormat class here.
      Using this test PF will fail due to a missing file roughly one in four times of executing this test:
      ant test-core -Dtestcase=TestIndexWriterCommit -Dtests.method=testCommitThreadSafety -Dtests.seed=EA320250471B75AE -Dtests.slow=true -Dtests.postingsformat=TestNonCoreDummyPostingsFormat -Dtests.locale=no -Dtests.timezone=Europe/Belfast -Dtests.file.encoding=UTF-8

      Attachments

        1. Lucene-4275-TestClass.patch
          7 kB
          Mark Harwood

        Activity

          People

            Unassigned Unassigned
            mharwood Mark Harwood
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: