You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Uwe Schindler (JIRA)" <ji...@apache.org> on 2009/12/18 10:07:18 UTC

[jira] Updated: (LUCENE-2170) Thread starvation problems in some tests

     [ https://issues.apache.org/jira/browse/LUCENE-2170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Uwe Schindler updated LUCENE-2170:
----------------------------------

    Attachment: LUCENE-2170.patch

Patch that fixes this issue. I will port to backwards, too.

> 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org