[
https://issues.apache.org/jira/browse/LUCENE-7161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16495411#comment-16495411
]
Alessandro Benedetti commented on LUCENE-7161:
----------------------------------------------
While refactoring the MoreLikeThis[1] I just found this test awaiting fix
( @AwaitsFix(bugUrl = "https://issues.apache.org/jira/browse/LUCENE-7161")
public void testMultiFieldShouldReturnPerFieldBooleanQuery )
Happy to help, where can I find a seed to reproduce and debug the test failure ?
I tried the test seeds in this Jira, but all of them succeeds on my local
machine
e.g.
ant test -Dtestcase=TestMoreLikeThis
-Dtests.method=testMultiFieldShouldReturnPerFieldBooleanQuery
-Dtests.seed=C802AA860A1EAE50 -Dtests.slow=true
-Dtests.linedocsfile=/home/jenkins/lucene-data/enwiki.random.lines.txt
-Dtests.locale=hi -Dtests.timezone=MST7MDT -Dtests.asserts=true
-Dtests.file.encoding=US-ASCII
[1] [#https://issues.apache.org/jira/browse/LUCENE-8326]
> TestMoreLikeThis.testMultiFieldShouldReturnPerFieldBooleanQuery assertion
> error
> -------------------------------------------------------------------------------
>
> Key: LUCENE-7161
> URL: https://issues.apache.org/jira/browse/LUCENE-7161
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Michael McCandless
> Assignee: Tommaso Teofili
> Priority: Major
> Fix For: 6.7, 7.0
>
>
> I just hit this unrelated but reproducible on master
> #cc75be53f9b3b86ec59cb93896c4fd5a9a5926b2 while tweaking earth's radius:
> {noformat}
> [junit4] Suite: org.apache.lucene.queries.mlt.TestMoreLikeThis
> [junit4] 2> NOTE: reproduce with: ant test -Dtestcase=TestMoreLikeThis
> -Dtests.method=testMultiFieldShouldReturnPerFieldBooleanQuery
> -Dtests.seed=794526110651C8E6 -Dtests.locale=es-HN
> -Dtests.timezone=Brazil/West -Dtests.asserts=true
> -Dtests.file.encoding=US-ASCII
> [junit4] FAILURE 0.25s |
> TestMoreLikeThis.testMultiFieldShouldReturnPerFieldBooleanQuery <<<
> [junit4] > Throwable #1: java.lang.AssertionError
> [junit4] > at
> __randomizedtesting.SeedInfo.seed([794526110651C8E6:1DF67ED7BBBF4E1D]:0)
> [junit4] > at
> org.apache.lucene.queries.mlt.TestMoreLikeThis.testMultiFieldShouldReturnPerFieldBooleanQuery(TestMoreLikeThis.java:320)
> [junit4] > at java.lang.Thread.run(Thread.java:745)
> [junit4] 2> NOTE: test params are: codec=CheapBastard,
> sim=ClassicSimilarity, locale=es-HN, timezone=Brazil/West
> [junit4] 2> NOTE: Linux 3.13.0-71-generic amd64/Oracle Corporation
> 1.8.0_60 (64-bit)/cpus=8,threads=1,free=409748864,total=504889344
> [junit4] 2> NOTE: All tests run in this JVM: [TestMoreLikeThis]
> [junit4] Completed [1/1 (1!)] in 0.45s, 1 test, 1 failure <<< FAILURES!
> [junit4]
> [junit4]
> [junit4] Tests with failures [seed: 794526110651C8E6]:
> [junit4] -
> org.apache.lucene.queries.mlt.TestMoreLikeThis.testMultiFieldShouldReturnPerFieldBooleanQuery
> {noformat}
> Likely related to LUCENE-6954?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]