Bug 999360 - Rule with agenda-group and other rule with higher salience make test freeze
Summary: Rule with agenda-group and other rule with higher salience make test freeze
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: BRE
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
urgent
medium
Target Milestone: ER5
: 6.0.0
Assignee: Mario Fusco
QA Contact: Tomas David
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-21 08:37 UTC by Tomas David
Modified: 2014-08-06 20:17 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:17:47 UTC
Type: Bug


Attachments (Terms of Use)

Description Tomas David 2013-08-21 08:37:23 UTC
Description of problem:
When focus is set on specific agenda-group and other rule has higher salience, test freezes. DeclarativeAgendaOption must be enabled.

Version-Release number of selected component (if applicable):
Drools 6.0.0-SNAPSHOT
Drools 6.0.0.ER1

How reproducible:
Pull request #237 submited in Drools.

Steps to Reproduce:
1. Make drl file with three rules. First rule has the highest salience and it set focus on specific agenda-group. Second rule is in the specific agenda-group. Third rule has salience higher than second rule, but it has lower salience than first rule.
2. Write a simple test with KieBase which have DeclarativeAgendaOption enabled.
3. Run test.

Actual results:
Test freezes.

Expected results:
Rules should fire in this order: first, second, third.

Additional info:

Comment 2 Mario Fusco 2013-10-03 14:01:48 UTC
Fixed by https://github.com/droolsjbpm/drools/commit/1db3ccc42

Comment 6 Tomas David 2013-12-04 08:28:18 UTC
Verified on BRMS 6.0.0.ER5.


Note You need to log in before you can comment on or make changes to this bug.