lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (LUCENE-1814) Some Lucene tests try and use a Junit Assert in new threads
Date Sun, 21 Mar 2010 16:05:27 GMT

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

Uwe Schindler resolved LUCENE-1814.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.1

Duplicate of LUCENE-2274.

> Some Lucene tests try and use a Junit Assert in new threads
> -----------------------------------------------------------
>
>                 Key: LUCENE-1814
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1814
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: Mark Miller
>            Assignee: Uwe Schindler
>            Priority: Minor
>             Fix For: 3.1
>
>
> There are a few cases in Lucene tests where JUnit Asserts are used inside a new threads
run method - this won't work because Junit throws an exception when a call to Assert fails
- that will kill the thread, but the exception will not propagate to JUnit - so unless a failure
is caused later from the thread termination, the Asserts are invalid.
> TestThreadSafe
> TestStressIndexing2
> TestStringIntern

-- 
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


Mime
View raw message