]
Ryan Emerson updated ISPN-10196:
--------------------------------
Component/s: Test Suite - Core
java.lang.IllegalStateException: EntityManager is closed
--------------------------------------------------------
Key: ISPN-10196
URL:
https://issues.jboss.org/browse/ISPN-10196
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Core
Reporter: Gustavo Lira e Silva
Assignee: Gustavo Lira e Silva
Priority: Major
Fix For: 10.0.0.Beta4, 9.4.14.Final
BaseJpaStoreTest.testStoreValuesViaNonJpaCacheStore is throwing
java.lang.IllegalStateException: EntityManager is closed with EAP 6.
Other containers doesn't throw this exception
The problem is because entitymanager is being closed here
https://github.com/infinispan/infinispan/blob/5ed19f4e77076146762f77a0c1e...
and
https://github.com/infinispan/infinispan/blob/5ed19f4e77076146762f77a0c1e...
we just need the entitymanger to be closed in the finally method