db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel John Debrunner (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-2464) convert lang/ShutdownDatabase.java to junit
Date Thu, 22 Mar 2007 00:07:32 GMT

    [ https://issues.apache.org/jira/browse/DERBY-2464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12482964

Daniel John Debrunner commented on DERBY-2464:

I see those failures, I simplfied the test and continued to see those failures.
The main simplification was not using openConnection(), just continue to use the utility methods
like createStatement() after a shutdown.
These use getConnection() which will open a new connection if the existing connection is closed.
This also means the connection will be closed automatically, while those opened via openConnection()
need to be closed explicitly.

So i think the test has found a bug, shutting down the database causes some issues for the
network server.
I'll commit my modified version but running only in embedded, can you enter a bug for the

> convert lang/ShutdownDatabase.java to junit
> -------------------------------------------
>                 Key: DERBY-2464
>                 URL: https://issues.apache.org/jira/browse/DERBY-2464
>             Project: Derby
>          Issue Type: Test
>          Components: Test
>    Affects Versions:
>            Reporter: Manjula Kutty
>         Assigned To: Manjula Kutty
>            Priority: Trivial
>             Fix For:
>         Attachments: DERBY-2464_diff_03_21.txt, DERBY-2464_diff_03_21_ver1.txt, DERBY-2464_stat_03_21.txt
> Place holder for the conversion of lang/ShutdownDatabase.java to junit

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message