lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (LUCENE-4805) Running tests from eclipse sometimes ignores the whole test
Date Thu, 28 Feb 2013 15:57:15 GMT

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

Robert Muir resolved LUCENE-4805.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0
                   4.2

Thanks again Dawid! This bug has eluded me for days...
                
> Running tests from eclipse sometimes ignores the whole test
> -----------------------------------------------------------
>
>                 Key: LUCENE-4805
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4805
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>             Fix For: 4.2, 5.0
>
>         Attachments: LUCENE-4805.patch
>
>
> If your test needs 4.2 features (e.g. \@SuppressCodecs' Lucene40, Lucene41), when you
run 'ant test' it does the right thing, and picks the right codecs.
> But from eclipse instead it often ignores all test methods and prints:
> NOTE: Class not allowed to use postings format: Lucene41. Suppressed codecs: [Lucene41,
Lucene40]
> You can reproduce this by adding this to e.g. TestDemo and running it from ant vs eclipse:
> {code}
> @SuppressCodecs({"Lucene40", "Lucene41"})
> {code}
> I havent had time to dig into this yet, but its annoying for eclipse developers. some
property must have a bad default value or something thats inconsistent with what ant sets:
somehow ant is doing it right.
> I gather it probably happens to other IDEs too.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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