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 2016/11/04 04:52:58 UTC

[jira] [Commented] (OAK-5063) Failure in QueryTest.nodeType

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

Chetan Mehrotra commented on OAK-5063:
--------------------------------------

Looks like cost reported from traverse index is lower leading to it getting selected. [~tmueller] I have also seen in customer issue few times where traverse index started reporting lower value.

This test can possibly be fixed by disabling traversal for this test

> Failure in QueryTest.nodeType 
> ------------------------------
>
>                 Key: OAK-5063
>                 URL: https://issues.apache.org/jira/browse/OAK-5063
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: query
>            Reporter: Chetan Mehrotra
>            Assignee: Thomas Mueller
>            Priority: Minor
>             Fix For: 1.6
>
>
> There are 4 failure seen in QueryTest.nodeType  in past 2 weeks. With OAK-4993 the plan is now being reported as part of test failure
> {noformat}
> Error Message:
> Unexpected plan: [oak:Unstructured] as [a] /* traverse "//*" where ([a].[xyz/jcr:primaryType] is not null) and (isdescendantnode([a], [/])) */
> Stack Trace:
> java.lang.AssertionError: Unexpected plan: [oak:Unstructured] as [a] /* traverse "//*" where ([a].[xyz/jcr:primaryType] is not null) and (isdescendantnode([a], [/])) */
>         at org.junit.Assert.fail(Assert.java:88)
>         at org.junit.Assert.assertTrue(Assert.java:41)
>         at org.apache.jackrabbit.oak.jcr.query.QueryTest.assertPlan(QueryTest.java:852)
>         at org.apache.jackrabbit.oak.jcr.query.QueryTest.nodeType(QueryTest.java:846)
> {noformat}



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