Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-2681

SetQueryTimeoutTest. fails in J2ME environment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.2.2.0
    • 10.2.2.1
    • Test
    • None
    • Regression Test Failure

    Description

      Have seen this error a number of times, but not every run in this environment.

                      • Diff file derbyall/jdbcapi/SetQueryTimeoutTest.diff
          • Start: SetQueryTimeoutTest jdkJ2ME Foundation Specification v1.0 derbyall:jdbcapi 2007-05-22 04:28:51 ***
            7 del
            < Statement 1 completed
            8 del
            < Statement 2 completed
            9 del
            < Statement 3 completed
            10 del
            < Testing timeout with an execute operation
            11 del
            < Statements that should time out timed out, and statements that should complete completed
            12 del
            < Testing setting a negative timeout value
            13 del
            < Negative timeout value caused exception, as expected
            14 del
            < Execute returned a ResultSet
            15 del
            < Testing that Statement remembers timeout.
            16 del
            < Testing that PreparedStatement remembers timeout.
            17 del
            < Testing that CallableStatement remembers timeout.
            18 del
            < Testing timeout with executeUpdate call.
            19 del
            < Test SetQueryTimeoutTest PASSED
            19a7,11
            > Test SetQueryTimeoutTest FAILED
            > org.apache.derbyTesting.functionTests.tests.jdbcapi.SetQueryTimeoutTest$TestFailedException: Unexpected exception in 1: java.sql.SQLException: The statement has been cancelled or timed out.
            > ERROR XCL52: The statement has been cancelled or timed out.
            > java.sql.SQLException: Invalid transaction state.
            > java.sql.SQLException: Invalid transaction state.
            Test Failed.
          • End: SetQueryTimeoutTest jdkJ2ME Foundation Specification v1.0 derbyall:jdbcapi 2007-05-22 04:29:13 ***

      Attachments

        Activity

          People

            myrna Myrna van Lunteren
            mikem Mike Matrigali
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: