[ https://issues.apache.org/jira/browse/OAK-2296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chetan Mehrotra resolved OAK-2296. ---------------------------------- Resolution: Fixed > Update sql2.txt test to account for name property presence in non test nodes > ---------------------------------------------------------------------------- > > Key: OAK-2296 > URL: https://issues.apache.org/jira/browse/OAK-2296 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: query > Reporter: Chetan Mehrotra > Assignee: Chetan Mehrotra > Priority: Minor > Fix For: 1.1.6 > > Attachments: OAK-2296.patch > > > Test executed from sql2.txt [1] fail for some cases if property names used in > test data are also used in non test data. For example when running with > oak-lucene where the index definition also uses {{name}} property then test > case fails as Lucene search also includes index related nodes. > As a fix testcase should be modified to include testdata path restriction > {noformat} > select [jcr:path] > from [nt:base] > where [name] is not null union all select [jcr:path] > from [nt:base] > where [name] is not null > /oak:index/test-index/indexRules/nt:base/properties/allProps > /oak:index/test-index/indexRules/nt:base/properties/allProps > /oak:index/test-index/indexRules/nt:base/properties/prop1 > /oak:index/test-index/indexRules/nt:base/properties/prop1 > /test/a > /test/a > /test/b > /test/b > {noformat} > [1] > https://svn.apache.org/repos/asf/jackrabbit/oak/trunk/oak-core/src/test/resources/org/apache/jackrabbit/oak/query/sql2.txt -- This message was sent by Atlassian JIRA (v6.3.4#6332)