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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.2.1.6
    • 10.2.1.6
    • None
    • 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.

      Attachments

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

        Activity

          People

            deepa Deepa
            kmarsden Katherine Marsden
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: