Thread starvation problems in some tests
----------------------------------------

                 Key: LUCENE-2170
                 URL: https://issues.apache.org/jira/browse/LUCENE-2170
             Project: Lucene - Java
          Issue Type: Bug
            Reporter: Uwe Schindler
            Assignee: Uwe Schindler
             Fix For: 3.1


In some of the tests, a time limit is set and the tests have a "while (inTime)" 
loop. If creation of thread under heavy load is too slow, the tasks are not 
done. Most tests are only useful, if the task is at least done once (most would 
even fail).

This thread changes the loops to be do...while, so the task is run at least one 
time.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to