You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Doron Cohen (JIRA)" <ji...@apache.org> on 2008/08/03 16:47:44 UTC
[jira] Created: (LUCENE-1348) TestTimeLimitedCollector shuold not
fail if the testing machine happens to be slow
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
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
[jira] Updated: (LUCENE-1348) TestTimeLimitedCollector shuold not
fail if the testing machine happens to be slow
Posted by "Doron Cohen (JIRA)" <ji...@apache.org>.
[ 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
[jira] Resolved: (LUCENE-1348) TestTimeLimitedCollector shuold not
fail if the testing machine happens to be slow
Posted by "Doron Cohen (JIRA)" <ji...@apache.org>.
[ 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org