[ https://issues.apache.org/jira/browse/LUCENE-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doron Cohen resolved LUCENE-1348. --------------------------------- Resolution: Fixed > TestTimeLimitedCollector shuold not fail if the testing machine happens to > be slow > ----------------------------------------------------------------------------------- > > Key: LUCENE-1348 > URL: https://issues.apache.org/jira/browse/LUCENE-1348 > Project: Lucene - Java > Issue Type: Test > Components: Search > Reporter: Doron Cohen > Assignee: Doron Cohen > Priority: Minor > Attachments: LUCENE-1348.patch > > > The test fails on Hudson about once a month, like this: > {quote} > [junit] Testcase: > testTimeoutNotGreedy(org.apache.lucene.search.TestTimeLimitedCollector): > FAILED > [junit] lastDoc=21 ,&& allowed=799 ,&& elapsed=900 >= 886 = ( 2*resolution > + TIME_ALLOWED + SLOW_DOWN = 2*20 + 799 + 47) > [junit] junit.framework.AssertionFailedError: lastDoc=21 ,&& allowed=799 > ,&& elapsed=900 >= 886 = ( 2*resolution + TIME_ALLOWED + SLOW_DOWN = 2*20 + > 799 + 47) > [junit] at > org.apache.lucene.search.TestTimeLimitedCollector.doTestTimeout(TestTimeLimitedCollector.java:189) > [junit] at > org.apache.lucene.search.TestTimeLimitedCollector.testTimeoutNotGreedy(TestTimeLimitedCollector.java:150) > [junit] > [junit] > [junit] Test org.apache.lucene.search.TestTimeLimitedCollector FAILED > {quote} > Modify the test to just print a warning in this case - but still verify that > there was an early termination. -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]