lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-5623) Reproducible TestEarlyTermination failure
Date Mon, 21 Apr 2014 16:47:15 GMT

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

Michael McCandless commented on LUCENE-5623:
--------------------------------------------

OK this is actually a real bug, introduced with LUCENE-5527, which is trunk only.  We just
have to move EarlyTerminatingSortingCollector's numCollected down to its LeafCollector.

But I sill don't know why we can't see the bug when beasting with SMS.

> Reproducible TestEarlyTermination failure
> -----------------------------------------
>
>                 Key: LUCENE-5623
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5623
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Michael McCandless
>             Fix For: 4.9, 5.0
>
>         Attachments: LUCENE-5623_test.patch, LUCENE-5623_test.patch, LUCENE-5623_test.patch
>
>
> {noformat}
> ant test  -Dtestcase=TestEarlyTermination -Dtests.method=testEarlyTermination -Dtests.seed=23B2828CD7A1C1BC
-Dtests.slow=true -Dtests.locale=en_AU -Dtests.timezone=Europe/Tirane -Dtests.file.encoding=UTF-8
> {noformat}
> results in this:
> {noformat}
>    [junit4]    > Throwable #1: java.lang.AssertionError: expected:<95> but was:<65>
>    [junit4]    > 	at __randomizedtesting.SeedInfo.seed([23B2828CD7A1C1BC:EC25C3D3EFCD51BF]:0)
>    [junit4]    > 	at org.apache.lucene.index.sorter.TestEarlyTermination.assertTopDocsEquals(TestEarlyTermination.java:183)
>    [junit4]    > 	at org.apache.lucene.index.sorter.TestEarlyTermination.testEarlyTermination(TestEarlyTermination.java:128)
>    [junit4]    > 	at java.lang.Thread.run(Thread.java:724)
>    [junit4]   2> NOTE: test params are: codec=Lucene46: {s=Pulsing41(freqCutoff=16
minBlockSize=9 maxBlockSize=65)}, docValues:{ndv2=DocValuesFormat(name=Asserting), ndv1=DocValuesFormat(name=Disk)},
sim=DefaultSimilarity, locale=en_AU, timezone=Europe/Tirane
>    [junit4]   2> NOTE: Linux 3.5.0-47-generic amd64/Oracle Corporation 1.7.0_25 (64-bit)/cpus=8,threads=1,free=206930744,total=247463936
>    [junit4]   2> NOTE: All tests run in this JVM: [TestEarlyTermination]
> {noformat}
> I haven't looked into it.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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


Mime
View raw message