You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2013/05/14 02:03:16 UTC

[jira] [Commented] (LUCENE-4901) TestIndexWriterOnJRECrash should work on any JRE vendor via Runtime.halt()

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

Michael McCandless commented on LUCENE-4901:
--------------------------------------------

Is Runtime.halt too "nice"?  Ie is there any chance it will do any cleanup at all?  (The javadocs seem to indicate no but still....).

I like the crashing version because it's most "accurate" to what we are trying to test here ... ie rather than asking the JVM to shoot itself, we do the shooting.
                
> TestIndexWriterOnJRECrash should work on any JRE vendor via Runtime.halt()
> --------------------------------------------------------------------------
>
>                 Key: LUCENE-4901
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4901
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: general/test
>         Environment: Red Hat EL 6.3
> IBM Java 1.6.0
> ANT 1.9.0
>            Reporter: Rodrigo Trujillo
>            Assignee: Dawid Weiss
>            Priority: Minor
>             Fix For: 5.0, 4.4
>
>         Attachments: LUCENE-4901.patch, test-IBM-java-vendor.patch
>
>
> I successfully compiled Lucene 4.2 with IBM.
> Then ran unit tests with the nightly option set to "true"
> The test case TestIndexWriterOnJRECrash was skipped returning "IBM Corporation JRE not supported":
> [junit4:junit4] Suite: org.apache.lucene.index.TestIndexWriterOnJRECrash
> [junit4:junit4] IGNOR/A 0.28s | TestIndexWriterOnJRECrash.testNRTThreads
> [junit4:junit4]    > Assumption #1: IBM Corporation JRE not supported.
> [junit4:junit4] Completed in 0.68s, 1 test, 1 skipped

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