tkobayas opened a new issue, #6540:
URL: https://github.com/apache/incubator-kie-drools/issues/6540
Some new tests fail with DRL10. Review `-PenableNewParser` test and fix if
needed.
```
mvn clean install -PenableNewParser
```
for example) under `drools-model`
```
[ERROR] Failures:
[ERROR]
NamedConsequencesTest.testConditionalBreak_defaultBreakDefault:680->BaseModelTest.getKieSession:99->BaseModelTest.getKieSession:104->BaseModelTest.getKieContainer:108->BaseModelTest.getKieContainer:115->BaseModelTest.createKieBuilder:126->BaseModelTest.createKieBuilder:151
[Message [id=1, kieBase=defaultKieBase, level=ERROR, path=r0.drl, line=7,
column=0
text=Unknown consequence name: Do2], Message [id=2,
kieBase=defaultKieBase, level=ERROR, path=r0.drl, line=7, column=0
text=Rule Compilation error then cannot be resolved to a variable
Do2 cannot be resolved to a variable
Syntax error, insert "AssignmentOperator Expression" to complete Assignment
Syntax error, insert ";" to complete Statement]]
[ERROR] Errors:
[ERROR] RuleCodegenTest.generateCepRegexRule:142 » Runtime
org.drools.drl.parser.DroolsParserException: [28,0]: mismatched input 'end'
expecting ':'
[0,0]: Parser returned a null Package
[ERROR] RuleCodegenTest.generateCepRegexRule:142 » Runtime
org.drools.drl.parser.DroolsParserException: [28,0]: mismatched input 'end'
expecting ':'
[0,0]: Parser returned a null Package
[ERROR] RuleCodegenTest.generateCepRegexRule:142 » Runtime
org.drools.drl.parser.DroolsParserException: [28,0]: mismatched input 'end'
expecting ':'
[0,0]: Parser returned a null Package
[INFO]
[ERROR] Tests run: 2593, Failures: 1, Errors: 3, Skipped: 24
```
--
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]