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 2010/07/26 17:43:53 UTC

[jira] Updated: (LUCENE-2565) TestUTF32ToUTF8 can run forever

     [ https://issues.apache.org/jira/browse/LUCENE-2565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael McCandless updated LUCENE-2565:
---------------------------------------

    Attachment: LUCENE-2565.patch

Attached patch, more carefully mapping around the surrogates.

I also fixed LuceneTestCase/J4 to pre-print the random seed if -Dtests.verbose is specified.  This is important for tests that hit an infinite loop :)

> TestUTF32ToUTF8 can run forever
> -------------------------------
>
>                 Key: LUCENE-2565
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2565
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 4.0
>
>         Attachments: LUCENE-2565.patch
>
>
> Stress testing this particular test uncovered that the testRandomRanges testcase can run forever, depending on the random numbers picked...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org