lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-3036) TestFSTs.testRealTerms is a terrible unit test
Date Sat, 23 Apr 2011 22:22:05 GMT

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

Michael McCandless commented on LUCENE-3036:
--------------------------------------------

Patch looks good!

> TestFSTs.testRealTerms is a terrible unit test
> ----------------------------------------------
>
>                 Key: LUCENE-3036
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3036
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: LUCENE-3036.patch
>
>
> This test:
> * uses FSDirectory.open (platform-specific behavior)
> * is a random test, but runs to a certain amount of seconds, then quits (makes it hard
to reproduce with seed, as its behavior is dependent on your computers speed etc)
> After waiting 3 hours to download the 1 gigabyte file to reproduce the corrupt index
it made in (https://hudson.apache.org/hudson/job/Lucene-trunk/1533/testReport/junit/org.apache.lucene.util.automaton.fst/TestFSTs/testRealTerms/),
I found some of this frustrating.
> I managed to finally reproduce it but its no fun fiddling with a test that runs for 5
minutes to reproduce a fail.

--
This message is automatically generated by JIRA.
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