lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doron Cohen (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-3506) tests for verifying that assertions are enabled do nothing since they ignore AssertionError
Date Thu, 27 Oct 2011 08:48:32 GMT

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

Doron Cohen commented on LUCENE-3506:
-------------------------------------

For easier perf testing I added a -D flag to tell LTC not to fail each and every test if Java
assertions are not enabled:

{noformat}
-Dtests.asserts.gracious=true
{noformat}

(Tests requiring Java assertions - e.g. TestAssertions - will still fail, on purpose.)

- r1189655 - trunk
- r1189663 - 3x
                
> tests for verifying that assertions are enabled do nothing since they ignore AssertionError
> -------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-3506
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3506
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: general/test
>            Reporter: Doron Cohen
>            Assignee: Doron Cohen
>            Priority: Minor
>         Attachments: LUCENE-3506.patch, LUCENE-3506.patch
>
>
> Follow-up from LUCENE-3501

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


Mime
View raw message