Description
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
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
Attachments
Attachments
Issue Links
- blocks
-
OAK-2282 Make current testcases pass with new index implementation
- Closed