[
https://issues.apache.org/jira/browse/LUCENE-3506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13136826#comment-13136826
]
Doron Cohen commented on LUCENE-3506:
-------------------------------------
{quote}
bq.Also, we've often done performance tests as unit tests in the past. Is there
an easy way to disable this "assertions enabled" test?
You can also enable assertions just for the class/package which checks if
assertions are enabled, Yonik. This should make the check pass and disable all
other assertions (for benchmarking). I don't remember the syntax off the top of
my head though.
{quote}
Yonik, is this sufficient for running the perf tests?
Otherwise I can add a -D flag for disabling testing this in LTC.
> 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: [email protected]
For additional commands, e-mail: [email protected]