db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kathey Marsden (JIRA)" <j...@apache.org>
Subject [jira] Closed: (DERBY-3776) testGetBytes under BlobClob4BlobTest failed on Zos with encoding issue
Date Fri, 11 Jul 2008 15:28:31 GMT

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

Kathey Marsden closed DERBY-3776.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 10.5.0.0
                   10.4.1.4
                   10.3.3.1
         Assignee: Kathey Marsden

> testGetBytes under BlobClob4BlobTest failed on Zos  with encoding issue
> -----------------------------------------------------------------------
>
>                 Key: DERBY-3776
>                 URL: https://issues.apache.org/jira/browse/DERBY-3776
>             Project: Derby
>          Issue Type: Bug
>          Components: JDBC
>         Environment: IBM 1.5
>            Reporter: Kathey Marsden
>            Assignee: Kathey Marsden
>             Fix For: 10.3.3.1, 10.4.1.4, 10.5.0.0
>
>
> testGetBytes(org.apache.derbyTesting.functionTests.tests.jdbcapi
> .BlobClob4BlobTest)junit.framework.ComparisonFailure: FAIL - 
> wrong substring value 
> expected:<snip garbage>  but was:<you can lead a horse to water but you can't
form 
> i>
> 	at java.lang.Throwable.<init>(Throwable.java:67)
> 	at 
> junit.framework.AssertionFailedError.<init>(AssertionFailedEr
> ror.java:11)
> 	at 
> junit.framework.ComparisonFailure.<init>(ComparisonFailure.ja
> va:19)
> 	at 
> org.apache.derbyTesting.functionTests.tests.jdbcapi.BlobClob4Blo
> bTest.verifyInterval(BlobClob4BlobTest.java:3221)
> 	at 
> org.apache.derbyTesting.functionTests.tests.jdbcapi.BlobClob4Blo
> bTest.testGetBytes(BlobClob4BlobTest.java:1767)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method)
> 	at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
> Impl.java:59)
> 	at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
> AccessorImpl.java:39)
> 	at 
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.
> java:101)
> 	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 
> org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.ja
> va:57)
> 	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 
> org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.ja
> va:57)
> running with -Dfile.encoding="UTF-16" on windows with Sun jdk 1.6 shows this issue as
well but also shows other failures as well e.g.
> 14) testGetBlobBeforeAndAfterUpdateStream(org.apache.derbyTesting.functionTests.tests.jdbcapi.B
> amework.AssertionFailedError: FAIL - wrong blob value
>         at org.apache.derbyTesting.functionTests.tests.jdbcapi.BlobClob4BlobTest.updateBlobWith
> ob4BlobTest.java:2727)
>         at org.apache.derbyTesting.functionTests.tests.jdbcapi.BlobClob4BlobTest.testGetBlobBef
> lobClob4BlobTest.java:2698)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25
>         at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:104)
>         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 org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
>         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 org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
>         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 org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
>         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 org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> If these other failures are not the same issue, we can file another bug.

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