[
https://issues.apache.org/jira/browse/LUCENE-6407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14485423#comment-14485423
]
ASF subversion and git services commented on LUCENE-6407:
---------------------------------------------------------
Commit 1672110 from [~martijn.v.groningen] in branch 'dev/trunk'
[ https://svn.apache.org/r1672110 ]
LUCENE-6407: Simplify random tests and open one searcher per test round.
Fixes test bug where expected top docs and actual top docs are inconsistent.
> TestJoinUtil.testRandomOrdinalsJoin failure
> -------------------------------------------
>
> Key: LUCENE-6407
> URL: https://issues.apache.org/jira/browse/LUCENE-6407
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Michael McCandless
>
> On 5.x:
> ant test -Dtestcase=TestJoinUtil -Dtests.method=testRandomOrdinalsJoin
> -Dtests.seed=142CF7C12E8ACE0D
> hits this failure:
> {noformat}
> java.lang.AssertionError: expected:<380> but was:<362>
> at
> __randomizedtesting.SeedInfo.seed([142CF7C12E8ACE0D:ABF1F658FE76DB01]:0)
> at org.junit.Assert.fail(Assert.java:93)
> at org.junit.Assert.failNotEquals(Assert.java:647)
> at org.junit.Assert.assertEquals(Assert.java:128)
> at org.junit.Assert.assertEquals(Assert.java:472)
> at org.junit.Assert.assertEquals(Assert.java:456)
> at
> org.apache.lucene.search.join.TestJoinUtil.assertTopDocs(TestJoinUtil.java:714)
> at
> org.apache.lucene.search.join.TestJoinUtil.testRandomOrdinalsJoin(TestJoinUtil.java:345)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]