lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Willnauer (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENE-3253) TestIndexwriterWithThreads#testCloseWithThreads hangs if a thread hit an exception before indexing its first document
Date Tue, 28 Jun 2011 10:06:17 GMT
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message