[jira] [Commented] (LUCENE-3036) TestFSTs.testRealTerms is a terrible unit test

2011-04-23 Thread Michael McCandless (JIRA)

[ 
https://issues.apache.org/jira/browse/LUCENE-3036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (LUCENE-3036) TestFSTs.testRealTerms is a terrible unit test

2011-04-18 Thread Robert Muir (JIRA)

[ 
https://issues.apache.org/jira/browse/LUCENE-3036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org