You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2017/12/30 14:42:00 UTC

[jira] [Resolved] (LUCENE-8112) TestBooleanRewrites.testRandom() failure

     [ https://issues.apache.org/jira/browse/LUCENE-8112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrien Grand resolved LUCENE-8112.
----------------------------------
       Resolution: Fixed
    Fix Version/s: master (8.0)

Thanks Steve. This was a problem with the Axiomatic similarities, which ignored the query boost factor and which I fixed in https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=8dfb019 yesterday. I just checked that the test fails without this commit and passes with it.

> TestBooleanRewrites.testRandom() failure
> ----------------------------------------
>
>                 Key: LUCENE-8112
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8112
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Steve Rowe
>             Fix For: master (8.0)
>
>
> Reproducing master seed from my Jenkins:
> {noformat}
> Checking out Revision 33f421e798d47da6482ed5ff3c55efe7d8f350f8 (refs/remotes/origin/master)
> [...]
>   [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestBooleanRewrites -Dtests.method=testRandom -Dtests.seed=4D1C151F5CAD94E3 -Dtests.slow=true -Dtests.locale=nn-NO -Dtests.timezone=Africa/Blantyre -Dtests.asserts=true -Dtests.file.encoding=UTF-8
>   [junit4] FAILURE 0.05s J3 | TestBooleanRewrites.testRandom <<<
>   [junit4]    > Throwable #1: java.lang.AssertionError: expected:<1.0016778707504272> but was:<1.2823400497436523>
>   [junit4]    > 	at __randomizedtesting.SeedInfo.seed([4D1C151F5CAD94E3:3F503010EDCD2290]:0)
>   [junit4]    > 	at org.apache.lucene.search.TestBooleanRewrites.assertEquals(TestBooleanRewrites.java:427)
>   [junit4]    > 	at org.apache.lucene.search.TestBooleanRewrites.testRandom(TestBooleanRewrites.java:367)
>   [junit4]    > 	at java.lang.Thread.run(Thread.java:748)
>   [junit4]   2> NOTE: test params are: codec=Lucene70, sim=Asserting(org.apache.lucene.search.similarities.AssertingSimilarity@2b18c523), locale=nn-NO, timezone=Africa/Blantyre
>   [junit4]   2> NOTE: Linux 4.1.0-custom2-amd64 amd64/Oracle Corporation 1.8.0_151 (64-bit)/cpus=16,threads=1,free=412570536,total=514850816
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org