[ 
https://issues.apache.org/jira/browse/LUCENE-3743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13197421#comment-13197421
 ] 

Robert Muir commented on LUCENE-3743:
-------------------------------------

I think you can have a situation where you want to assume in another thread...

it doesnt have to be a precondition... in fact the whole handling of assume 
doesnt
even work best as a precondition [in setUp] because you get no messages about 
it if you do that.
try it... its because the TestWatchMan does not intercept anything coming from 
setUp :)

anyway I think we should do the patch for consistency, and for those rare, crazy
situations where you want to make an assumption that isnt a precondition.
                
> LuceneTestCase's uncaught exceptions handler should check for 
> AssumptionViolatedExceptions and then not trigger test failure
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-3743
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3743
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: general/test
>    Affects Versions: 3.5, 4.0
>            Reporter: Steven Rowe
>            Assignee: Steven Rowe
>            Priority: Minor
>         Attachments: LUCENE-3743.patch
>
>
> As in single-threaded tests, {{LuceneTestCase}} should not trigger test 
> failures for {{AssumptionViolatedException}}'s when they occur in 
> multi-threaded tests.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to