[jboss-jira] [JBoss JIRA] (DROOLS-1326) Stateful working memory regression OCT-2016: nurserostering long_hint01.xml

Jiri Locker (JIRA) issues at jboss.org
Wed Nov 16 05:09:00 EST 2016


    [ https://issues.jboss.org/browse/DROOLS-1326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13323494#comment-13323494 ] 

Jiri Locker commented on DROOLS-1326:
-------------------------------------

Hi Matteo, that's a valid question.

There are two "inverted" asserts which expect the incorrect number of fired rules and the corrupted score. Their purpose is to make sure that the original bug is still reproducible. This was important for me while I was searching for minimal reproducer but I admit it is confusing to see the test pass.

The two inverted asserts are marked with a comment and the expected values should be 4 rules and "0hard/-1soft" score, which are exactly the same values as at the very end of the test. Let me know if this explanation is enough or if you need further assistance. I can even make the test not use optaplanner-core at all.

> Stateful working memory regression OCT-2016: nurserostering long_hint01.xml
> ---------------------------------------------------------------------------
>
>                 Key: DROOLS-1326
>                 URL: https://issues.jboss.org/browse/DROOLS-1326
>             Project: Drools
>          Issue Type: Bug
>          Components: core engine
>    Affects Versions: 7.0.0.Beta2
>            Reporter: Geoffrey De Smet
>            Assignee: Mario Fusco
>            Priority: Blocker
>         Attachments: screenshot-1.png
>
>
> Something regressed in Drools master between 27-SEP and 11-OCT.
> See:
> https://kie-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/optaplanner-turtleTests/org.optaplanner$optaplanner-examples/73/testReport/junit/org.optaplanner.examples.nurserostering.app/NurseRosteringSolveAllTurtleTest/runFastAndFullAssert_2__data_nurserostering_unsolved_long_hint01_xml_/
> I 'll ask [~jlocker] to isolate.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list