Derby
  1. Derby
  2. DERBY-1219

jdbcapi/checkDataSource.java and jdbcapi/checkDataSource30.java hang intermittently with client

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 10.2.1.6
    • Fix Version/s: 10.2.1.6
    • Labels:
      None
    • Environment:
      More often on jdk 1.5 or jdk 1.6 but hangs on jdk 1.4.2 as well

      Description

      The tests checkDataSource.java and checkDataSource30.java
      hang intermittently especially with jdk 1.5.

      Attached is the test run output and traces when the server is started separately.

      1) Enable checkDataSource30.java by taking it out of functionTests/suites/DerbyNetClient.exclude.

      2) Run the test with client.
      java -Dij.exceptionTrace=true -Dkeepfiles=true -Dframework=DerbyNetClient org.apache.derbyTesting.functionTests.harness.RunTest jdbcapi/checkDataSource30.java

      Attachements:
      testfiles_after_hang.zip - Test directory.

      traces_on_hang.txt - Server side traces obtained by starting the server separately before running the test.

      I wish I had time to work on this right now as I would really like to see this valuable test in the suite, but hopefully someone else will pick it up.

      1. derby-1219-enable-tests.diff
        22 kB
        Deepa Remesh
      2. derby-1219-enable-tests.status
        0.5 kB
        Deepa Remesh
      3. no-sessions-for-closed-threads.diff
        2 kB
        Bryan Pendleton
      4. interrupt.diff
        1 kB
        Bryan Pendleton
      5. skipThreads.diff
        4 kB
        Bryan Pendleton
      6. drda_traces_050206.zip
        89 kB
        Deepa Remesh
      7. client_stack_trace_050306.txt
        4 kB
        Deepa Remesh
      8. server_stack_trace_050306.txt
        5 kB
        Deepa Remesh
      9. traces_on_hang.txt
        14 kB
        Kathey Marsden
      10. testfiles_afterhang.zip
        67 kB
        Kathey Marsden

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Deepa Remesh
            Reporter:
            Kathey Marsden
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development