db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manjula Kutty (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-2464) convert lang/ShutdownDatabase.java to junit
Date Wed, 21 Mar 2007 22:37:32 GMT

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

Manjula Kutty updated DERBY-2464:
---------------------------------

    Attachment: DERBY-2464_diff_03_21_ver1.txt

Thanks for the valuable comments, Dan, I made changes to the test so that it will use the
default database . But when I did the drop table in the tear down method, I get the following
error . Any gues what is going wrong here?

I commented that code in the tear down method and just did the drop table in each test.

There was 1 error:
1) testOnlyTransactionWasCommited(org.apache.derbyTesting.functionTests.tests.la
ng.ShutdownDatabaseTest)java.sql.SQLException: A network protocol error was enco
untered and the connection has been terminated: the requested command encountere
d an unarchitected and implementation-specific condition for which there was no
architected message
        at org.apache.derby.client.am.SQLExceptionFactory.getSQLException(Unknow
n Source)
        at org.apache.derby.client.am.SqlException.getSQLException(Unknown Sourc
e)
        at org.apache.derby.client.am.Statement.execute(Unknown Source)
        at org.apache.derbyTesting.functionTests.tests.lang.ShutdownDatabaseTest
.tearDown(ShutdownDatabaseTest.java:77)
        at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:
80)
        at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
        at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
        at junit.extensions.TestSetup.run(TestSetup.java:23)
        at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
        at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
        at junit.extensions.TestSetup.run(TestSetup.java:23)
        at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
        at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
        at junit.extensions.TestSetup.run(TestSetup.java:23)
Caused by: org.apache.derby.client.am.DisconnectException: A network protocol er
ror was encountered and the connection has been terminated: the requested comman
d encountered an unarchitected and implementation-specific condition for which t
here was no architected message
        at org.apache.derby.client.net.NetConnectionReply.parseCMDCHKRM(Unknown
Source)
        at org.apache.derby.client.net.NetStatementReply.parseExecuteImmediateEr
ror(Unknown Source)
        at org.apache.derby.client.net.NetStatementReply.parseEXCSQLIMMreply(Unk
nown Source)
        at org.apache.derby.client.net.NetStatementReply.readExecuteImmediate(Un
known Source)
        at org.apache.derby.client.net.StatementReply.readExecuteImmediate(Unkno
wn Source)
        at org.apache.derby.client.net.NetStatement.readExecuteImmediate_(Unknow
n Source)
        at org.apache.derby.client.am.Statement.readExecuteImmediate(Unknown Sou
rce)
        at org.apache.derby.client.am.Statement.flowExecute(Unknown Source)
        at org.apache.derby.client.am.Statement.executeX(Unknown Source)
        ... 27 more



> 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.


Mime
View raw message