You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2015/05/22 06:29:17 UTC

[jira] [Commented] (OAK-2689) Test failure: QueryResultTest.testGetSize

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

Chetan Mehrotra commented on OAK-2689:
--------------------------------------

Can we get this resolved. It causes test to fail randomly at time. Probably we can add it to ignore list (in pom.xml) untill we get the test expectation fixed in JR side

> Test failure: QueryResultTest.testGetSize
> -----------------------------------------
>
>                 Key: OAK-2689
>                 URL: https://issues.apache.org/jira/browse/OAK-2689
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>         Environment: Jenkins, Ubuntu: https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/
>            Reporter: Michael Dürig
>              Labels: CI, Jenkins
>             Fix For: 1.3.0
>
>
> {{org.apache.jackrabbit.core.query.QueryResultTest.testGetSize}} fails every couple of builds:
> {noformat}
> junit.framework.AssertionFailedError: Wrong size of NodeIterator in result expected:<48> but was:<-1>
> 	at junit.framework.Assert.fail(Assert.java:50)
> 	at junit.framework.Assert.failNotEquals(Assert.java:287)
> 	at junit.framework.Assert.assertEquals(Assert.java:67)
> 	at junit.framework.Assert.assertEquals(Assert.java:134)
> 	at org.apache.jackrabbit.core.query.QueryResultTest.testGetSize(QueryResultTest.java:47)
> {noformat}
> Failure seen at builds: 29, 39, 59, 61, 114, 117, 118, 120
> See e.g. https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/59/jdk=jdk-1.6u45,label=Ubuntu,nsfixtures=DOCUMENT_NS,profile=unittesting/testReport/junit/org.apache.jackrabbit.core.query/QueryResultTest/testGetSize/



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