You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Uwe Schindler (JIRA)" <ji...@apache.org> on 2013/04/03 22:43:15 UTC

[jira] [Comment Edited] (LUCENE-4901) Unit test TestIndexWriterOnJRECrash does not support IBM Java

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

Uwe Schindler edited comment on LUCENE-4901 at 4/3/13 8:42 PM:
---------------------------------------------------------------

I am not sure: Instead of crashing, maybe using Runtime.halt() from a parallel thread after some timeout? Runtime.halt() kills the JVM like kill -9 and does not run any shutdown hooks or let GC finish its work? Open files are closed in any case, because the kernel does this when the process exits (also on Unsafe's SIGSEGV).
                
      was (Author: thetaphi):
    I am not sure: Instead of crashing, maybe using System.halt() from a parallel thread after some timeout? System.halt() kills the JVM and does not run shutdown hooks or let GC work? Files are closed in any case, because the kernel does this when the process SIGSEGVs.
                  
> Unit test TestIndexWriterOnJRECrash does not support IBM Java 
> --------------------------------------------------------------
>
>                 Key: LUCENE-4901
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4901
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: general/test
>    Affects Versions: 4.2
>         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: 4.2
>
>         Attachments: 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