lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shai Erera (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-2721) Random Failure TestSizeBoundedOptimize#testFirstSegmentTooLarge
Date Sat, 23 Oct 2010 16:56:22 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-2721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12924214#action_12924214
] 

Shai Erera commented on LUCENE-2721:
------------------------------------

What do you mean by 'most test'? Most test classes in Lucene, or most test cases in TestSizeBoundedOptimize?
The test cases in the latter (where this 'wiring' was done) do care.

> Random Failure TestSizeBoundedOptimize#testFirstSegmentTooLarge
> ---------------------------------------------------------------
>
>                 Key: LUCENE-2721
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2721
>             Project: Lucene - Java
>          Issue Type: Test
>          Components: Index
>    Affects Versions: CSF branch, 4.0
>            Reporter: Simon Willnauer
>            Assignee: Shai Erera
>             Fix For: 3.1, 4.0
>
>         Attachments: LUCENE-2721.patch, LUCENE-2721.patch
>
>
> I am seeing this on trunk  
> {noformat}
> [junit] Testsuite: org.apache.lucene.index.TestSizeBoundedOptimize
>     [junit] Testcase: testFirstSegmentTooLarge(org.apache.lucene.index.TestSizeBoundedOptimize):
FAILED
>     [junit] expected:<2> but was:<1>
>     [junit] junit.framework.AssertionFailedError: expected:<2> but was:<1>
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:882)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:848)
>     [junit] 	at org.apache.lucene.index.TestSizeBoundedOptimize.testFirstSegmentTooLarge(TestSizeBoundedOptimize.java:160)
>     [junit] 
>     [junit] 
>     [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.658 sec
>     [junit] 
>     [junit] ------------- Standard Output ---------------
>     [junit] NOTE: reproduce with: ant test -Dtestcase=TestSizeBoundedOptimize -Dtestmethod=testFirstSegmentTooLarge
-Dtests.seed=7354441978302993522:-457602792543755447 -Dtests.multiplier=3
>     [junit] NOTE: test params are: codec=Standard, locale=sv_SE, timezone=Mexico/BajaNorte
>     [junit] ------------- ---------------- ---------------
>     [junit] ------------- Standard Error -----------------
>     [junit] NOTE: all tests run in this JVM:
>     [junit] [TestSizeBoundedOptimize]
>     [junit] ------------- ---------------- ---------------
>     [junit] Test org.apache.lucene.index.TestSizeBoundedOptimize FAILED
> {noformat}
> when running with this seed
> ant test -Dtestcase=TestSizeBoundedOptimize -Dtestmethod=testFirstSegmentTooLarge -Dtests.seed=7354441978302993522:-457602792543755447
-Dtests.multiplier=3

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


Mime
View raw message