You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2016/03/26 15:42:25 UTC

[jira] [Commented] (LUCENE-7138) TestMinShouldMatch2 assertion failure

    [ https://issues.apache.org/jira/browse/LUCENE-7138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15213061#comment-15213061 ] 

Robert Muir commented on LUCENE-7138:
-------------------------------------

The bug is related to coord(), fails for me like this, but only with ClassicSimilarity:

{noformat}
expected:<31.550662994384766> but was:<15.775331497192383>
{noformat}



> TestMinShouldMatch2 assertion failure
> -------------------------------------
>
>                 Key: LUCENE-7138
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7138
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Michael McCandless
>
> I randomly hit this test failure:
> {noformat}
> ant test  -Dtestcase=TestMinShouldMatch2 -Dtests.seed=D712D2CC986DDBA -Dtests.multiplier=3 -Dtests.nightly=true -Dtests.locale=ar-BH -Dtests.timezone=Etc/GMT-9 -Dtests.asserts=true -Dtests.file.encoding=ISO-8859-1
> {noformat}
> {noformat}
>    [junit4]    > Throwable #1: java.lang.AssertionError: expected:<0.559075117111206> but was:<0.06988438963890076>
>    [junit4]    > 	at __randomizedtesting.SeedInfo.seed([D712D2CC986DDBA:F2A0B1A99368A5DB]:0)
>    [junit4]    > 	at org.apache.lucene.search.TestMinShouldMatch2.assertNext(TestMinShouldMatch2.java:161)
>    [junit4]    > 	at org.apache.lucene.search.TestMinShouldMatch2.testNextVaryingNumberOfTerms(TestMinShouldMatch2.java:278)
>    [junit4]    > 	at java.lang.Thread.run(Thread.java:745)
>    [junit4]   2> NOTE: test params are: codec=Asserting(Lucene60): {field=Lucene50(blocksize=128)}, docValues:{dv=DocValuesFormat(name=Lucene54)}, maxPointsInLeafNode=367, maxMBSortInHeap=4.737709757956011, sim=RandomSimilarity(queryNorm=true,coord=yes): {}, locale=ar-BH, timezone=Etc/GMT-9
>    [junit4]   2> NOTE: Linux 3.13.0-71-generic amd64/Oracle Corporation 1.8.0_60 (64-bit)/cpus=8,threads=1,free=441776504,total=516947968
>    [junit4]   2> NOTE: All tests run in this JVM: [TestMinShouldMatch2]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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