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] [Created] (LUCENE-3036) TestFSTs.testRealTerms is a terrible unit test
Date Mon, 18 Apr 2011 20:47:05 GMT
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