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-2295) DRDAProtocolTest:clientjunit.framework.AssertionFailedError
Date Tue, 20 Feb 2007 03:00:05 GMT

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

Daniel John Debrunner commented on DERBY-2295:
----------------------------------------------

Problem is that the DropDatabaseSetup had its definition partially changed by the recent work
to support multiple databases.
DropDatabaseSetup previously dropped the current default database, now it drops the last database
added by the single
use database decorators. However it continues to shutdown the current default database, and
these may not be the same.
DropDatabaseSetup requires the database be shutdown before it can be removed.

> DRDAProtocolTest:clientjunit.framework.AssertionFailedError
> -----------------------------------------------------------
>
>                 Key: DERBY-2295
>                 URL: https://issues.apache.org/jira/browse/DERBY-2295
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.3.0.0
>         Environment: A)
> ------------------ Java Information ------------------
> Java Version:    1.5.0_05
> Java Vendor:     Sun Microsystems Inc.
> Java home:       c:\Program Files\Java\jdk1.5.0_05\jre
> Java classpath:  C:\cygwin\home\os136789\Apache\Derby\trunk\jars\insane\derby.jar;C:\cygwin\home\os136789\Apache\Derby\trunk\jars\insane\derbyclient.jar;C:\cygwin\home\os136789\Apache\Derby\trunk\jars\insane\derbytools.jar;C:\cygwin\home\os136789\Apache\Derby\trunk\jars\insane\derbynet.jar;C:\cygwin\home\os136789\Apache\Derby\db2jcc\lib\db2jcc.jar;C:\cygwin\home\os136789\Apache\Derby\db2jcc\lib\db2jcc_license_c.jar;C:\cygwin\home\os136789\Apache\Derby\trunk\jars\insane\derbyTesting.jar;C:\cygwin\home\os136789\Apache\Derby\trunk\jars\insane\derbyrun.jar;C:\cygwin\home\os136789\Apache\Derby\trunk\tools\java\jakarta-oro-2.0.8.jar;C:\cygwin\home\os136789\Apache\Derby\trunk\jars\insane\derbyLocale_de_DE.jar;C:\cygwin\home\os136789\Apache\Derby\trunk\jars\insane\derbyLocale_es.jar;C:\cygwin\home\os136789\Apache\Derby\trunk\jars\insane\derbyLocale_fr.jar;C:\cygwin\home\os136789\Apache\Derby\trunk\jars\insane\derbyLocale_it.jar;C:\cygwin\home\os136789\Apache\Derby\trunk\jars\insane\derbyLocale_ja_JP.jar;C:\cygwin\home\os136789\Apache\Derby\trunk\jars\insane\derbyLocale_ko_KR.jar;C:\cygwin\home\os136789\Apache\Derby\trunk\jars\insane\derbyLocale_pt_BR.jar;C:\cygwin\home\os136789\Apache\Derby\trunk\jars\insane\derbyLocale_zh_CN.jar;C:\cygwin\home\os136789\Apache\Derby\trunk\jars\insane\derbyLocale_zh_TW.jar;C:\cygwin\home\os136789\Apache\Derby\trunk\tools\java\junit.jar
> OS name:         Windows XP
> OS architecture: x86
> OS version:      5.1
> Java user name:  os136789
> Java user home:  C:\Documents and Settings\os136789
> Java user dir:   C:\cygwin\export\home\tmp\os136789\testingDerby\CYGWIN_NT-5.1_i686-unknown\org.apache.derbyTesting.functionTests.suites.All
> java.specification.name: Java Platform API Specification
> java.specification.version: 1.5
> --------- Derby Information --------
> JRE - JDBC: J2SE 5.0 - JDBC 3.0
> [C:\cygwin\home\os136789\Apache\Derby\trunk\jars\insane\derby.jar] 10.3.0.0 alpha - (503453:503454)
> [C:\cygwin\home\os136789\Apache\Derby\trunk\jars\insane\derbytools.jar] 10.3.0.0 alpha
- (503453:503454)
> [C:\cygwin\home\os136789\Apache\Derby\trunk\jars\insane\derbynet.jar] 10.3.0.0 alpha
- (503453:503454)
> [C:\cygwin\home\os136789\Apache\Derby\trunk\jars\insane\derbyclient.jar] 10.3.0.0 alpha
- (503453:503454)
> [C:\cygwin\home\os136789\Apache\Derby\db2jcc\lib\db2jcc.jar] 2.4 - (17)
> [C:\cygwin\home\os136789\Apache\Derby\db2jcc\lib\db2jcc_license_c.jar] 2.4 - (17)
> ------------------------------------------------------
> B)
> JVM name: Java HotSpot(TM) Client VM
> JVM version: 1.5.0_07-b03
> JVM vendor: Sun Microsystems Inc.
> JVM datamodel: 32-bit
>            Reporter: Ole Solberg
>         Assigned To: Daniel John Debrunner
>            Priority: Minor
>
> Seen on windows only.
> There were 2 failures:
> 1) DRDAProtocolTest:clientjunit.framework.AssertionFailedError
> 	at org.apache.derbyTesting.junit.DropDatabaseSetup.removeDir(DropDatabaseSetup.java:96)
> 	at org.apache.derbyTesting.junit.DropDatabaseSetup.access$000(DropDatabaseSetup.java:34)
> 	at org.apache.derbyTesting.junit.DropDatabaseSetup$1.run(DropDatabaseSetup.java:71)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at org.apache.derbyTesting.junit.DropDatabaseSetup.removeDirectory(DropDatabaseSetup.java:68)
> 	at org.apache.derbyTesting.junit.DropDatabaseSetup.tearDown(DropDatabaseSetup.java:62)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:22)
> 	at junit.extensions.TestSetup.run(TestSetup.java:25)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> 	at junit.extensions.TestSetup.run(TestSetup.java:25)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> 	at junit.extensions.TestSetup.run(TestSetup.java:25)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> 	at junit.extensions.TestSetup.run(TestSetup.java:25)
> 2) DRDAProtocolTest:clientjunit.framework.AssertionFailedError
> 	at org.apache.derbyTesting.junit.DropDatabaseSetup.removeDir(DropDatabaseSetup.java:96)
> 	at org.apache.derbyTesting.junit.DropDatabaseSetup.access$000(DropDatabaseSetup.java:34)
> 	at org.apache.derbyTesting.junit.DropDatabaseSetup$1.run(DropDatabaseSetup.java:71)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at org.apache.derbyTesting.junit.DropDatabaseSetup.removeDirectory(DropDatabaseSetup.java:68)
> 	at org.apache.derbyTesting.junit.DropDatabaseSetup.tearDown(DropDatabaseSetup.java:62)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:22)
> 	at junit.extensions.TestSetup.run(TestSetup.java:25)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> 	at junit.extensions.TestSetup.run(TestSetup.java:25)
> FAILURES!!!
> Tests run: 2417,  Failures: 2,  Errors: 0

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