[
https://issues.apache.org/jira/browse/LUCENE-4125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13292404#comment-13292404
]
Dawid Weiss commented on LUCENE-4125:
-------------------------------------
Ok, I see -- on branch_4x this works fine now.
> AvoidCodecs (and maybe similar nearby logic) still runs BeforeClass
> -------------------------------------------------------------------
>
> Key: LUCENE-4125
> URL: https://issues.apache.org/jira/browse/LUCENE-4125
> Project: Lucene - Java
> Issue Type: Bug
> Affects Versions: 4.0
> Reporter: Robert Muir
> Fix For: 4.0, 5.0
>
>
> ant test-core -Dtestcase=TestBackwardsCompatibility -Dtests.codec=Lucene3x
> This test isnt allowed to run Lucene3x, but the assumption stuff is
> per-method, it still loads things up in beforeClass, meaning we checkindex()
> real 3.x segments with the "fake" 3.x impersonator and it looks like
> corruption, which is really scary if you are just trying to run all the tests
> with -Dtests.codec=Lucene3x to verify a change doesnt break backwards compat.
--
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]