[
https://issues.apache.org/jira/browse/LUCENE-2170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12792416#action_12792416
]
Michael McCandless commented on LUCENE-2170:
--------------------------------------------
Ugh!
Looks good Uwe. Thanks!
> 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
>
> Attachments: LUCENE-2170.patch
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]