Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D7AA8C0DC for ; Sat, 9 Jun 2012 06:41:27 +0000 (UTC) Received: (qmail 66840 invoked by uid 500); 9 Jun 2012 06:41:25 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 66277 invoked by uid 500); 9 Jun 2012 06:41:25 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 66245 invoked by uid 99); 9 Jun 2012 06:41:23 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Jun 2012 06:41:23 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 1FE6F140C2C for ; Sat, 9 Jun 2012 06:41:23 +0000 (UTC) Date: Sat, 9 Jun 2012 06:41:23 +0000 (UTC) From: "Dawid Weiss (JIRA)" To: dev@lucene.apache.org Message-ID: <925923314.55751.1339224083132.JavaMail.jiratomcat@issues-vm> In-Reply-To: <155838218.54866.1339197562911.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (LUCENE-4125) AvoidCodecs (and maybe similar nearby logic) still runs BeforeClass MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org