lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doron Cohen (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-1348) TestTimeLimitedCollector shuold not fail if the testing machine happens to be slow
Date Sun, 03 Aug 2008 15:25:44 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Doron Cohen updated LUCENE-1348:
--------------------------------

    Attachment: LUCENE-1348.patch

> 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message