[
https://issues.apache.org/jira/browse/LUCENE-2118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12931102#action_12931102
]
Michael McCandless commented on LUCENE-2118:
--------------------------------------------
Urgh -- my commit breaks this test case:
{noformat}
ant test-core -Dtestcase=TestIndexWriter
-Dtestmethod=testOptimizeMaxNumSegments2
-Dtests.seed=6113348674281247226:-4858946393178103452
{noformat}
> Intermittent failure in TestIndexWriterMergePolicy.testMaxBufferedDocsChange
> ----------------------------------------------------------------------------
>
> Key: LUCENE-2118
> URL: https://issues.apache.org/jira/browse/LUCENE-2118
> Project: Lucene - Java
> Issue Type: Bug
> Components: Index
> Affects Versions: 3.1
> Reporter: Michael McCandless
> Priority: Minor
> Fix For: 3.1, 4.0
>
> Attachments: LUCENE-2118.patch
>
>
> Last night's build failed from it:
> http://hudson.zones.apache.org/hudson/job/Lucene-trunk/1019/changes
> Here's the exc:
> {code}
> [junit] Testcase:
> testMaxBufferedDocsChange(org.apache.lucene.index.TestIndexWriterMergePolicy):
> FAILED
> [junit] maxMergeDocs=2147483647; numSegments=11; upperBound=10;
> mergeFactor=10
> [junit] junit.framework.AssertionFailedError: maxMergeDocs=2147483647;
> numSegments=11; upperBound=10; mergeFactor=10
> [junit] at
> org.apache.lucene.index.TestIndexWriterMergePolicy.checkInvariants(TestIndexWriterMergePolicy.java:234)
> [junit] at
> org.apache.lucene.index.TestIndexWriterMergePolicy.testMaxBufferedDocsChange(TestIndexWriterMergePolicy.java:164)
> [junit] at
> org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:208)
> {code}
> Test doesn't fail if I run on opensolaris nor os X machines...
--
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]