Bug#749365: lucene2: FTBFS - tests fail

Emmanuel Bourg ebourg at apache.org
Mon Nov 10 21:45:37 UTC 2014


I rebuilt lucene2 ten times with pbuilder. It succeeded 9 times and
failed once but with a different test failure (also reported by Miguel
on debian-java in July):

    [junit] Testcase:
testPhraseQueryWithStopAnalyzer(org.apache.lucene.search.TestPhraseQuery):
       FAILED
    [junit] expected:<1> but was:<0>
    [junit] junit.framework.AssertionFailedError: expected:<1> but was:<0>
    [junit]     at
org.apache.lucene.search.TestPhraseQuery.testPhraseQueryWithStopAnalyzer(TestPhraseQuery.java:228)
    [junit]     at
org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:221)
    [junit]
    [junit]
    [junit] Test org.apache.lucene.search.TestPhraseQuery FAILED

I haven't been able to reproduce the error with
TestStressIndexing2.testRandomIWReader. The lucene tests have random
parameters that are probably the cause of the instability observed,
fortunately that's the exception and not the rule.



More information about the pkg-java-maintainers mailing list