AthiraHari77 opened a new issue, #1743:
URL: https://github.com/apache/incubator-kie-issues/issues/1743
There is a DMN TCK failure, when running with Drools:
[ERROR] 0084-feel-for-loops-test-01.decision_024 – Time elapsed: 0.001 s <<<
ERROR!
java.lang.RuntimeException: ERROR: FAILURE: 'decision_024'
expected='[1980-01-01, 1980-01-02, 1980-01-03]' but found='[[ 1980-01-01 ..
1980-01-03 ]]'
The test is located here (1). Based on the error, it looks like that Drools
is returning a range instead of a list in this test case.
Options how to debug:
Replicating the test case directly in Drools repository, so it gets a proper
stack trace pointing to the code path being executed, to be able to see the
code areas, which may need a fix. If the test case is mainly just a FEEL
expression (FEEL is a language used to write expressions in DMN), the FEEL
expression could be added to a test class, e.g. this one (2), so it can be run
in isolation.
(1)
https://github.com/dmn-tck/tck/tree/master/TestCases/compliance-level-3/0084-feel-for-loops
(2)
https://github.com/apache/incubator-kie-drools/blob/053d70c8f9145706e771f90e8ce2dafa3899b59b/kie-dmn/kie-dmn-feel/src/test/java/org/kie/dmn/feel/runtime/FEELConditionsAndLoopsTest.java#L31
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]