db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepa Remesh (JIRA)" <derby-...@db.apache.org>
Subject [jira] Updated: (DERBY-1219) jdbcapi/checkDataSource.java and jdbcapi/checkDataSource30.java hang intermittently with client
Date Mon, 15 May 2006 22:46:07 GMT
     [ http://issues.apache.org/jira/browse/DERBY-1219?page=all ]

Deepa Remesh updated DERBY-1219:

    Attachment: derby-1219-enable-tests.diff

Attaching a patch 'derby-1219-enable-tests.diff' which enables the tests jdbcapi/checkDataSource.java
and jdbcapi/checkDataSource30.java to run with client.

Patch adds a condition to exclude a system shutdown when running with client framework. This
condition has to be removed once the hang (DERBY-1326) is resolved. Thanks Kathey for mentioning
the use of shutdown in this test.

With this patch, I ran the 2 tests using embedded and client driver with Sun jdk1.4.2 on Windows
XP. I ran the tests multiple times with client driver to check that the hang does not occur.
I would appreciate if someone can take a look at this patch.

> jdbcapi/checkDataSource.java and jdbcapi/checkDataSource30.java hang intermittently with
> -----------------------------------------------------------------------------------------------
>          Key: DERBY-1219
>          URL: http://issues.apache.org/jira/browse/DERBY-1219
>      Project: Derby
>         Type: Test

>   Components: Network Server, Network Client
>     Versions:
>  Environment: More often on jdk 1.5 or jdk 1.6 but hangs on jdk 1.4.2 as well
>     Reporter: Kathey Marsden
>     Assignee: Deepa Remesh
>     Priority: Minor
>  Attachments: client_stack_trace_050306.txt, derby-1219-enable-tests.diff, derby-1219-enable-tests.status,
drda_traces_050206.zip, interrupt.diff, no-sessions-for-closed-threads.diff, server_stack_trace_050306.txt,
skipThreads.diff, testfiles_afterhang.zip, traces_on_hang.txt
> 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
> 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.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message