Uploaded image for project: 'Hibernate ORM'
  1. Hibernate ORM
  2. HHH-11434

Failure in some tests causes TS to hang infinitely

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.4, 5.2.7
    • Fix Version/s: 5.2.8
    • Component/s: testsuite
    • Labels:
      None
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

    • Last commented by a user?:
      true

      Description

      Currently, this affects at least these tests:

      • FilterInheritanceTest on Sybase 16
      • InsertOrderingWithJoinedTableInheritance on Sybase 16

      We need to make sure an unexpected exception doesn't lead to leaking an open Session, because such session causes a freeze when cleaning up the SessionFactory.

      The cleanupTestData method of BaseNonConfigCoreFunctionalTestCase needs a similar change too.

      The failures in mentioned tests are caused by HHH-11262 Closed , this issue's purpose is to be a workaround so that they don't hang the TS, they will still fail after this fix, if HHH-11262 Closed is not fixed.

        Attachments

          Issue links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: