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

Dawid Weiss commented on LUCENE-4125:
-------------------------------------

I think I provided a patch for this a while ago (as part of another issue)... 
searching archives.
                
> 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
>
> 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]

Reply via email to