]
Juraci Paixao Krohling resolved EJB-407.
----------------------------------------
Resolution: Fixed
Revisions 16373 and 16374.
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,
UnclosedEM-UnfinishedTransactions.v3_3_2_GA_CP.diff,
UnclosedEM-UnfinishedTransactions.v3_4_0_GA_CP.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: