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

                 Key: LUCENE-3253
                 URL: https://issues.apache.org/jira/browse/LUCENE-3253
             Project: Lucene - Java
          Issue Type: Test
          Components: core/index
    Affects Versions: 3.4, 4.0
            Reporter: Simon Willnauer
            Priority: Minor
             Fix For: 3.4, 4.0
         Attachments: LUCENE-3253.patch

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.

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to