[
https://issues.redhat.com/browse/DROOLS-4878?page=com.atlassian.jira.plug...
]
Jozef Marko commented on DROOLS-4878:
-------------------------------------
Project used for verification [^MySpace_collect.zip] . To run tests successfully with
stateless session, user needs to pick 'stateless' check box in test scenario
settings.
Test Scenario: fix support for default stateless kieSession
-----------------------------------------------------------
Key: DROOLS-4878
URL:
https://issues.redhat.com/browse/DROOLS-4878
Project: Drools
Issue Type: Bug
Components: Scenario Simulation and Testing
Reporter: Daniele Zonca
Assignee: Daniele Zonca
Priority: Major
Labels: drools-tools
Attachments: MySpace_collect.zip
How to reproduce:
- edit kmodule.xml and create only a default stateless session
{code:java}
<kmodule
xmlns="http://www.drools.org/xsd/kmodule"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<kbase name="myKieBase">
<ksession name="mySession" type="stateless"
default="true"/>
</kbase>
</kmodule>
{code}
- create a Rule test scenario and specify in Setting panel {{stateless}}
- run
Without the fix:
Test failed with this exception "Impossible to find a KieSession with name
null"
With the fix:
The test should be able to run because that kmodule configuration is valid
--
This message was sent by Atlassian Jira
(v7.13.8#713008)