Open line-o opened 2 years ago
I have seen similar behaviour when running the tests via XSuite, and I have prepared a fix for that, but it would not account for the behaviour you are seeing when running via eXide.
You are right @adamretter this is a different issue.
Describe the bug
While investigating issues with typed fields specified in collection.xconf I came across an issue where calls to
ft:field($node, $field, "xs:integer"
always returns1
instead of the integer value stored in the index. This behaviour is dependent on two things:The above can be due to leaky test encapsulation or issues within the Lucene implementation or a combination of both.
Expected behavior
The tests to either fail or pass regardless of other tests that are executed before or after it.
To Reproduce
XQuery
>Run as test
from the main menulf-list-values:all-sorted-by-text-ft-field-fail
in line 153XQuery
>Run as test
from the main menu again2.lf-list-values:all-sorted-by-text-hof
By modifying the order of test cases other tests will fail along with
lf-list-values:all-sorted-by-text-ft-field-fail
. I observed that even the number of failing tests varies (2-3).Tested on:
Additional context
conf.xml
? none