lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-3992) TestIndexWriterOnJRECrash failure
Date Mon, 16 Apr 2012 18:26:19 GMT

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

Robert Muir commented on LUCENE-3992:
-------------------------------------

OK i know, its a super-sneaky bug in the test.

This bug has been around since LUCENE-3687, but the test is only run nightly, so i just happened
to trip it.

The problem is (as described in LUCENE-3687), we don't have perfect 3.x emulation. So PreFlexRWFieldInfosWriter
currently writes a 'very close to 3.x format' and has a specialized FieldInfosReader to handle
that.
This kicks in when preflex impersonation is on: LuceneTestCase.PREFLEX_IMPERSONATION_IS_ACTIVE

But this test creates the file in a separate JVM so it can crash it, and doesnt handle these
impersonated indexes.
I'll figure out a way to fix the test...
                
> TestIndexWriterOnJRECrash failure
> ---------------------------------
>
>                 Key: LUCENE-3992
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3992
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: Robert Muir
>
> triggered this beasting a bunch of tests... gonna probably be hard to reproduce...

--
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


Mime
View raw message