[jboss-jira] [JBoss JIRA] Updated: (JBRULES-2841) BinaryHeapQueueAgendaGroup fails to return top salience item
k s (JIRA)
jira-events at lists.jboss.org
Mon Dec 20 17:11:18 EST 2010
[ https://issues.jboss.org/browse/JBRULES-2841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
k s updated JBRULES-2841:
-------------------------
Attachment: BinaryHeapQueueAgendaGroupTest.java
Junit test case
> BinaryHeapQueueAgendaGroup fails to return top salience item
> ------------------------------------------------------------
>
> Key: JBRULES-2841
> URL: https://issues.jboss.org/browse/JBRULES-2841
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: drools-core
> Affects Versions: 5.1.1.FINAL
> Reporter: k s
> Assignee: Mark Proctor
> Attachments: BinaryHeapQueueAgendaGroupTest.java, trace.txt
>
>
> We have come across a case where the rules engine does not fire the top priority (top salience) rule. After a lot of careful debugging, it seems that the BinaryHeapQueueAgendaGroup implementation (and most likely the supporting BinaryHeapQueue) has a bug. It is not a common case and it was hard to reproduce. We have put together a junit test to show the problem. The test "replays" the trace from the case where we show the error (sparing you from all the complexity of the actual rules and produced it). I will attach the JUnit test and the trace file that drives the test.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list