You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2010/10/15 18:36:37 UTC
[jira] Assigned: (LUCENE-2709) If test has methods with @Ignore, we
should print out a notice
[ https://issues.apache.org/jira/browse/LUCENE-2709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Muir reassigned LUCENE-2709:
-----------------------------------
Assignee: Robert Muir
> If test has methods with @Ignore, we should print out a notice
> --------------------------------------------------------------
>
> Key: LUCENE-2709
> URL: https://issues.apache.org/jira/browse/LUCENE-2709
> Project: Lucene - Java
> Issue Type: Test
> Affects Versions: 3.1, 4.0
> Reporter: Robert Muir
> Assignee: Robert Muir
> Fix For: 3.1, 4.0
>
> Attachments: LUCENE-2709.patch
>
>
> Currently these silently pass, but there is usually a reason they are @Ignore
> (sometimes good, sometimes really a TODO we should fix)
> In my opinion we should add reasons for all these current @Ignores like Mike did with Test2BTerms.
> Example output:
> {noformat}
> [junit] Testsuite: org.apache.lucene.index.Test2BTerms
> [junit] Tests run: 0, Failures: 0, Errors: 0, Time elapsed: 0.184 sec
> [junit]
> [junit] ------------- Standard Error -----------------
> [junit] NOTE: Ignoring test method 'test2BTerms' Takes ~4 hours to run on a fast machine!! And requires that you don't use PreFlex codec.
> [junit] ------------- ---------------- ---------------
> ...
> [junit] Testsuite: org.apache.solr.handler.dataimport.TestMailEntityProcessor
> [junit] Tests run: 0, Failures: 0, Errors: 0, Time elapsed: 0.043 sec
> [junit]
> [junit] ------------- Standard Error -----------------
> [junit] NOTE: Ignoring test method 'testConnection'
> [junit] NOTE: Ignoring test method 'testRecursion'
> [junit] NOTE: Ignoring test method 'testExclude'
> [junit] NOTE: Ignoring test method 'testInclude'
> [junit] NOTE: Ignoring test method 'testIncludeAndExclude'
> [junit] NOTE: Ignoring test method 'testFetchTimeSince'
> [junit] ------------- ---------------- ---------------
> {noformat}
--
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org