-
Bug
-
Resolution: Done
-
Minor
-
7.8.0.GA
-
None
-
jdk=ibm1.8
Some tests from org.kie.dmn.validation package are failing on nightly jobs [1]. If you are not on VPN, there is a gist for test results [2].
They return "No DMNDiagramElement is associated with the element" warning message causing an AssertionError. The tests expect 0 messages.
Failing tests on classes:
- org.kie.dmn.validation.ValidatorDMNDITest
- org.kie.dmn.validation.ValidatorImportTest
- org.kie.dmn.validation.ValidatorTest
e.g. org.kie.dmn.validation.ValidatorImportTest is as following:
When run testImportNoAddtnAttribute() the result is:
- java.lang.AssertionError: Message [id=0, level=WARNING, path=null, line=-1, column=-1 text=DMN: Missing DMNShape for 'Decision-1' (DMN id: _1361F7E7-846E-408D-B1AB-D4F7D4BD247F, No DMNDiagramElement is associated with the element) ]
- Message [id=0, level=WARNING, path=null, line=-1, column=-1 text=DMN: Missing DMNShape for 'aaa' (DMN id: _E54727B7-BC41-4499-8652-53221E62BAD4, No DMNDiagramElement is associated with the element) ]
- Message [id=0, level=WARNING, path=null, line=-1, column=-1 text=DMN: Missing DMNEdge for '_3FAE4777-A801-4216-BC21-0A13D5E16F43' (DMN id: _3FAE4777-A801-4216-BC21-0A13D5E16F43, No DMNDiagramElement is associated with the element) ]
- Expected: is <0> but: was <3>
It started to fail after DROOLS-4562 (DMN validation semantic rules for DMNDI) commit [3].
Links: