lucene-dev mailing list archives

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

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

Robert Muir commented on LUCENE-3036:
-------------------------------------

also, i don't like that the test data file hudson uses for nightly tests seems to only be
available on hudson itself. this limits debugging fails to pmc members. we should put this
file somewhere public.

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