OpenJPA
  1. OpenJPA
  2. OPENJPA-1616

Fix TestTimeoutException test failures on MSSQL and MySQL

    Details

    • Type: Test Test
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-beta3
    • Fix Version/s: 2.0.0
    • Component/s: None
    • Labels:
      None

      Description

      There are 2 test failures on MSSQL -
      TestTimeoutException.testQueryTimeOutExceptionWhileQueryingWithLocksOnAlreadyLockedEntities
      TestTimeoutException.testQueryTimeOutExceptionWhileFindWithLocksOnAlreadyLockedEntities

      And only one of them fail on MySQL -
      TestTimeoutException.testQueryTimeOutExceptionWhileQueryingWithLocksOnAlreadyLockedEntities

      1. OPENJPA-1616-mysql.patch
        2 kB
        Donald Woods
      2. OPENJPA-1616-mssql.patch
        6 kB
        Donald Woods
      3. OPENJPA-1616-hsqldb.patch
        2 kB
        Donald Woods

        Activity

        Hide
        Donald Woods added a comment -

        Exclude TestTimeoutException tests on HSQLDB as it uses supportsSelectForUpdate=false

        Show
        Donald Woods added a comment - Exclude TestTimeoutException tests on HSQLDB as it uses supportsSelectForUpdate=false
        Hide
        Donald Woods added a comment -

        Fixes applied to 2.0.x and trunk.

        Show
        Donald Woods added a comment - Fixes applied to 2.0.x and trunk.
        Hide
        Donald Woods added a comment -

        Patch that fixes the tests for MySQL

        Show
        Donald Woods added a comment - Patch that fixes the tests for MySQL
        Hide
        Donald Woods added a comment -

        Patch that fixes the 2 test failures on Microsoft SQLServer.
        Applied to trunk and 2.0.x.

        Show
        Donald Woods added a comment - Patch that fixes the 2 test failures on Microsoft SQLServer. Applied to trunk and 2.0.x.

          People

          • Assignee:
            Donald Woods
            Reporter:
            Donald Woods
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development