[ 
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 failure?

> 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: 10.3.0.0
>            Reporter: Manjula Kutty
>         Assigned To: Manjula Kutty
>            Priority: Trivial
>             Fix For: 10.3.0.0
>
>         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.

Reply via email to