lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <>
Subject RE: [JENKINS] Lucene-trunk - Build # 1786 - Failure
Date Mon, 02 Jan 2012 14:52:28 GMT
I agree, it happens always with tests.nightly=true and multiplicator>1. I retriggered a
nightly Jenkins build, same error message. The failure mail should arrive shortly J



Uwe Schindler

H.-H.-Meier-Allee 63, D-28213 Bremen




From: [] On Behalf Of Martijn v
Sent: Sunday, January 01, 2012 12:50 PM
Subject: Re: [JENKINS] Lucene-trunk - Build # 1786 - Failure


I think this is just a broken test case. If this test is ran with: "-Dtests.seed=-289aae8d40093437:-2c1c9ffc76ccb3bd:71f64018e9abbebb
-Dtests.multiplier=3 -Dtests.nightly=true" then 1300 documents with term "aaa" are indexed.
During searching the maximum number of documents to retrieve is hard coded to 1000. 

In that case the assertion on line 460 fails. 



ScoreDoc[] hits = TermQuery(new Term("field", "aaa")), null, 1000).scoreDocs;


ScoreDoc[] hits = TermQuery(new Term("field", "aaa")), null, n*100).scoreDocs;

will fix this failure.



On 1 January 2012 05:10, Apache Jenkins Server <> wrote:


1 tests failed.
REGRESSION:  org.apache.lucene.index.TestIndexWriter.testDiverseDocs

Error Message:
expected:<1300> but was:<1000>

Stack Trace:
junit.framework.AssertionFailedError: expected:<1300> but was:<1000>
       at org.apache.lucene.util.LuceneTestCaseRunner.runChild(
       at org.apache.lucene.util.LuceneTestCaseRunner.runChild(
       at org.apache.lucene.index.TestIndexWriter.testDiverseDocs(
       at org.apache.lucene.util.LuceneTestCase$3$1.evaluate(

Build Log (for compile errors):
[...truncated 12691 lines...]

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message