Some tests are not closing the EM or finishing transactions
-----------------------------------------------------------
Key: EJB-407
URL:
http://opensource.atlassian.com/projects/hibernate/browse/EJB-407
Project: Hibernate Entity Manager
Issue Type: Bug
Components: EntityManager
Reporter: Juraci Paixao Krohling
Assignee: Juraci Paixao Krohling
Attachments: UnclosedEM-UnfinishedTransactions.diff
The below tests are not closing the EM or not finishing transactions (committing/rolling
back), causing the test to hang indefinitely when the EM tries to drop the database
entities after the test finishes:
org/hibernate/ejb/test/callbacks/CallbacksTest.java
org/hibernate/ejb/test/emops/FlushTest.java
org/hibernate/ejb/test/lock/LockTest.java
org/hibernate/ejb/test/exception/ExceptionTest.java
org/hibernate/ejb/test/transaction/FlushAndTransactionTest.java
The attached patch closes the EM and/or rolls back the unfinished transaction.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira