[rules-users] Guvnor: rule fire counts don't match when running modified test scenario

Scott Mayne smayne at webfinancialsolutions.com
Fri Sep 24 16:12:22 EDT 2010


I'm still going through Paul Browne's "JBoss Drools Business Rules" and am using test scenarios now.

What I've noticed is the activation counts displayed on different parts of the screen don't match. As per the book, I originally had a value for "sales" that would fire the rule 11 times, then changed the rule to have "no-loop true". Re-running the test gives the correct 1 activation at the top, but in 2 other places the old 11 count is still displayed.

I also noticed this behavior when changing the test scenario value of "sales" - for example, I'd start with a value that would fire 3 times, then change it to one that would fire 11 times. In the second case, 11 would correctly show at the top, but 3 would incorrectly display in 2 places lower down.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100924/6ecb3787/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rule_activation.png
Type: image/png
Size: 21958 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/rules-users/attachments/20100924/6ecb3787/attachment.png 


More information about the rules-users mailing list