[jboss-jira] [JBoss JIRA] Updated: (JBRULES-2845) threading issues when using MultithreadEvaluationOption.YES with fusion

Radai Rosenblatt (JIRA) jira-events at lists.jboss.org
Wed Dec 22 10:32:18 EST 2010


     [ https://issues.jboss.org/browse/JBRULES-2845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Radai Rosenblatt updated JBRULES-2845:
--------------------------------------

    Attachment: threadingbug.zip


maven project demonstrating a threading bug in drools-fusion 5.1.1

> threading issues when using MultithreadEvaluationOption.YES with fusion
> -----------------------------------------------------------------------
>
>                 Key: JBRULES-2845
>                 URL: https://issues.jboss.org/browse/JBRULES-2845
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-compiler (fusion), drools-core  (expert)
>    Affects Versions: 5.1.1.FINAL
>         Environment: dual core processor, jdk 6u21, windows xp
>            Reporter: Radai Rosenblatt
>            Assignee: Mark Proctor
>              Labels: thread-safety
>         Attachments: threadingbug.zip
>
>
> i have 2 very simple rules and a test case (see attached maven project).
> trying to set MultithreadEvaluationOption.YES on the KB causes the test to fail sporadically (~10% of the times?).
> the attached project contains a testsuite that runs the same test 8 times (testsuite is defined in RunMe.java). attempting "mvn clean install" runs this suite and usually fails.
> commenting out the MultithreadEvaluationOption.YES line in the other testcase (the one referred-to from RunMe) causes the tests to behave as expected (pass). 

-- 
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