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

Juraci Paixao Krohling (JIRA) noreply at atlassian.com
Fri Sep 26 13:37:04 EDT 2008


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=31292#action_31292 ] 

Juraci Paixao Krohling commented on HHH-3498:
---------------------------------------------

Note: I only wrapped the test which was hanging on DB2. 

> 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
>         Attachments: HHH-3498-branch-3_2_4_SP1_CP.diff, HHH-3498.diff
>
>
> 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

        



More information about the hibernate-issues mailing list