Java Mailing List Archive

http://www.gg3721.com/

Home » Hibernate Issues List »

[hibernate-issues] [Hibernate-JIRA] Created: (HHH-3498) Wrap
transactions in try/catch in tests

Anupam M (JIRA)

2008-09-26

Replies: Find Java Web Hosting

Author LoginPost Reply
Wrap transactions in try/catch in tests
---------------------------------------

          Key: HHH-3498
          URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3498
        Project: Hibernate Core
      Issue Type: Patch
      Components: testsuite
  Affects Versions: 3.2.4.sp1
     Environment: Hiberate core from branch 3_2_4_SP1_CP with Db2
       Reporter: Juraci Paixao Krohling


Some tests doesn't wraps transactions in try/catch blocks, causing the testsuite to "hang" waiting for the unfinished transaction to complete, which never happens.

This is currently happening in CGLIBInstrumentationTest, which calls TestLazyPropertyCustomTypeExecutable. This test fails on DB2, but as the transaction was started and not finished, the "drop tables" from the teardown is blocked indefinitely.



--
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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

   
_______________________________________________
hibernate-issues mailing list
hibernate-issues@(protected)
https://lists.jboss.org/mailman/listinfo/hibernate-issues
©2008 gg3721.com - Jax Systems, LLC, U.S.A.