[jboss-jira] [JBoss JIRA] (DROOLS-4878) Test Scenario: fix support for default stateless kieSession
Jozef Marko (Jira)
issues at jboss.org
Fri Jan 24 06:54:38 EST 2020
[ https://issues.redhat.com/browse/DROOLS-4878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jozef Marko updated DROOLS-4878:
--------------------------------
Steps to Reproduce: (was: # import the attached project into bs
# Open it, click Build, Then Test
Current: 3/3 will fail
Expected: 2/3 will pass)
> 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
>
> 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)
More information about the jboss-jira
mailing list