[
https://issues.apache.org/jira/browse/DERBY-2932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512146
]
Øystein Grøvlen commented on DERBY-2932:
----------------------------------------
Patch looks good. Without the patch I saw the errors reported here when I ran
the jdb4/BlobTest in soft-upgrade mode. With the patch (and the patch for
DERBY-2923), these errors has disappeared but I get the following failures:
There were 2 failures:
1)
testGetBinaryStreamCreateBlob(org.apache.derbyTesting.functionTests.tests.jdbc4.BlobTest)junit.framework.AssertionFailedError:
Streams differ at index 0 expected:<101> but was:<-1>
at
org.apache.derbyTesting.junit.BaseTestCase.assertEquals(BaseTestCase.java:302)
at
org.apache.derbyTesting.functionTests.tests.jdbc4.BlobTest.testGetBinaryStreamCreateBlob(BlobTest.java:551)
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:95)
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
org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
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
org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
2)
testGetBinaryStreamBlobUpdates(org.apache.derbyTesting.functionTests.tests.jdbc4.BlobTest)junit.framework.AssertionFailedError:
Streams differ at index 0 expected:<-1> but was:<101>
at
org.apache.derbyTesting.junit.BaseTestCase.assertEquals(BaseTestCase.java:302)
at
org.apache.derbyTesting.functionTests.tests.jdbc4.BlobTest.testGetBinaryStreamBlobUpdates(BlobTest.java:604)
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:95)
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
org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
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
org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
FAILURES!!!
Tests run: 10, Failures: 2, Errors: 0
> Connection.createClob() and Connection.createBlob() throw a procedure not
> found exception and do not switch to non-locator code upon soft upgrade
> -------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: DERBY-2932
> URL: https://issues.apache.org/jira/browse/DERBY-2932
> Project: Derby
> Issue Type: Bug
> Components: Network Client
> Affects Versions: 10.3.0.0, 10.3.1.0, 10.3.1.1
> Reporter: V.Narayanan
> Assignee: V.Narayanan
> Priority: Blocker
> Fix For: 10.3.1.1
>
> Attachments: SoftUpgrade_createClob_createBlob_v1.diff,
> SoftUpgrade_createClob_createBlob_v1.stat
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.