You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/04/08 17:52:13 UTC

[jira] [Commented] (LUCENE-6407) TestJoinUtil.testRandomOrdinalsJoin failure

    [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org