[jboss-jira] [JBoss JIRA] (DROOLS-3325) Insert operation on a disposed Kie session from session pool should fail
Tibor Zimányi (Jira)
issues at jboss.org
Tue Nov 20 06:44:00 EST 2018
[ https://issues.jboss.org/browse/DROOLS-3325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tibor Zimányi updated DROOLS-3325:
----------------------------------
Description:
When running test [1] SessionsPoolTest.testKieSessionsPoolInMultithreadEnv in a loop (it helps to raise the number of threads to 100), it fails, because the insert() operation that is done after session dispose ends without an exception. Stacktrace is here [2].
[1] https://github.com/kiegroup/drools/blob/83f0751f5ebf7bc75a6431bc00b1b82232b75206/drools-compiler/src/test/java/org/drools/compiler/integrationtests/session/SessionsPoolTest.java#L86
[2] https://gist.github.com/baldimir/7aaab506c0cd8c273097d71f847d8631
was:
When running test [1] SessionsPoolTest.testKieSessionsPoolInMultithreadEnv in a loop (it helps to raise the number of threads to 100), it fails, because the insert() operation that is done after session dispose ends without an exception.
[1] https://github.com/kiegroup/drools/blob/83f0751f5ebf7bc75a6431bc00b1b82232b75206/drools-compiler/src/test/java/org/drools/compiler/integrationtests/session/SessionsPoolTest.java#L86
> Insert operation on a disposed Kie session from session pool should fail
> ------------------------------------------------------------------------
>
> Key: DROOLS-3325
> URL: https://issues.jboss.org/browse/DROOLS-3325
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 7.14.0.Final
> Reporter: Tibor Zimányi
> Assignee: Mario Fusco
> Priority: Major
>
> When running test [1] SessionsPoolTest.testKieSessionsPoolInMultithreadEnv in a loop (it helps to raise the number of threads to 100), it fails, because the insert() operation that is done after session dispose ends without an exception. Stacktrace is here [2].
> [1] https://github.com/kiegroup/drools/blob/83f0751f5ebf7bc75a6431bc00b1b82232b75206/drools-compiler/src/test/java/org/drools/compiler/integrationtests/session/SessionsPoolTest.java#L86
> [2] https://gist.github.com/baldimir/7aaab506c0cd8c273097d71f847d8631
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list