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

TestIndexwriterWithThreads#testCloseWithThreads hangs if a thread hit an exception before indexing its first document

Details

    • Test
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.4, 4.0-ALPHA
    • 3.4, 4.0-ALPHA
    • core/index
    • None
    • New, Patch Available

    Description

      in TestIndexwriterWithThreads#testCloseWithThreads we loop until all threads have indexed a single document but if one or more threads fail on before they index the first doc the test hangs forever. We should check if the thread is still alive unless it has indexed a document and fail if it already died.

      Attachments

        1. LUCENE-3253.patch
          0.6 kB
          Simon Willnauer

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: